home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•The Arcade•
/
Spacestation Pheta 2.0 •••••
/
Spacestation Pheta
/
Spacestation Pheta.rsrc
/
CODE_1_Main.txt
< prev
next >
Wrap
Text File
|
1990-09-16
|
188KB
|
3,407 lines
# near model CODE resource
# jump table entries: 16-77 (62 of them)
export_2:
fn00000000:
00000000 302F 0004 move.w D0, [A7 + 0x4]
00000004 43EF 0006 lea.l A1, [A7 + 0x6]
00000008 3200 move.w D1, D0
0000000A E549 lsl D1.w, 2
0000000C D2C1 add.w A1, D1
0000000E 2051 movea.l A0, [A1]
00000010 2297 move.l [A1], [A7]
00000012 48E7 00E0 movem.l -[A7], A0,A1,A2
00000016 7200 moveq.l D1, 0x00
00000018 5248 addq.w A0, 1
0000001A 601A bra +0x1C /* 00000036 */
label0000001C:
0000001C 2461 movea.l A2, -[A1]
0000001E 7400 moveq.l D2, 0x00
00000020 141A move.b D2, [A2]+
00000022 D202 add.b D1, D2
00000024 640C bcc +0xE /* 00000032 */
00000026 9401 sub.b D2, D1
00000028 5302 subq.b D2, 1
0000002A 7000 moveq.l D0, 0x00
0000002C 72FF moveq.l D1, 0xFFFFFFFF
0000002E 6002 bra +0x4 /* 00000032 */
label00000030:
00000030 10DA move.b [A0]+, [A2]+
label00000032:
00000032 51CA FFFC dbf D2, -0x6 /* 00000030 */
label00000036:
00000036 51C8 FFE4 dbf D0, -0x1E /* 0000001C */
0000003A 4CDF 0700 movem.l A0,A1,A2, [A7]+
0000003E 1081 move.b [A0], D1
00000040 2E49 movea.l A7, A1
00000042 5241 addq.w D1, 1
00000044 2057 movea.l A0, [A7]
00000046 4ED0 jmp [A0]
export_3:
00000048 241F move.l D2, [A7]+
0000004A 301F move.w D0, [A7]+
0000004C 6C02 bge +0x4 /* 00000050 */
0000004E 7000 moveq.l D0, 0x00
label00000050:
00000050 321F move.w D1, [A7]+
00000052 6E0C bgt +0xE /* 00000060 */
00000054 4441 neg.w D1
00000056 5241 addq.w D1, 1
00000058 9041 sub.w D0, D1
0000005A 6C02 bge +0x4 /* 0000005E */
0000005C 7000 moveq.l D0, 0x00
label0000005E:
0000005E 7201 moveq.l D1, 0x01
label00000060:
00000060 205F movea.l A0, [A7]+
00000062 2257 movea.l A1, [A7]
00000064 2F02 move.l -[A7], D2
00000066 7400 moveq.l D2, 0x00
00000068 1410 move.b D2, [A0]
0000006A D0C1 add.w A0, D1
0000006C 5242 addq.w D2, 1
0000006E 9441 sub.w D2, D1
00000070 6C02 bge +0x4 /* 00000074 */
00000072 7400 moveq.l D2, 0x00
label00000074:
00000074 B042 cmp.w D0, D2
00000076 6F02 ble +0x4 /* 0000007A */
00000078 3002 move.w D0, D2
label0000007A:
0000007A 12C0 move.b [A1]+, D0
0000007C 6002 bra +0x4 /* 00000080 */
label0000007E:
0000007E 12D8 move.b [A1]+, [A0]+
label00000080:
00000080 51C8 FFFC dbf D0, -0x6 /* 0000007E */
00000084 4E75 rts
export_4:
label00000086:
00000086 202D EA06 move.l D0, [A5 - 0x15FA]
0000008A 6704 beq +0x6 /* 00000090 */
0000008C 2040 movea.l A0, D0
0000008E 4E90 jsr [A0]
label00000090:
00000090 A9F4 syscall ExitToShell
export_5:
00000092 4EBA 14B0 jsr [PC + 0x14B0 /* 00001544 */]
00000096 4EBA 004A jsr [PC + 0x4A /* 000000E2 */]
0000009A 2C4D movea.l A6, A5
0000009C 536D FFDE subq.w [A5 - 0x22], 1
000000A0 3B7C 0002 FFDC move.w [A5 - 0x24], 0x2
000000A6 426D FFD6 clr.w [A5 - 0x2A]
000000AA 42AD EA06 clr.l [A5 - 0x15FA]
000000AE 42AD EA0A clr.l [A5 - 0x15F6]
000000B2 42AD EA0E clr.l [A5 - 0x15F2]
000000B6 42AD EA12 clr.l [A5 - 0x15EE]
000000BA 426D EA42 clr.w [A5 - 0x15BE]
000000BE 426D EA44 clr.w [A5 - 0x15BC]
000000C2 50ED EA46 st [A5 - 0x15BA]
000000C6 50ED EA47 st [A5 - 0x15B9]
000000CA 51ED EA48 sf [A5 - 0x15B8]
000000CE 51ED EA49 sf [A5 - 0x15B7]
000000D2 303C 07D0 move.w D0, 0x7D0
000000D6 4EBA 12BE jsr [PC + 0x12BE /* 00001396 */]
000000DA 2050 movea.l A0, [A0]
000000DC 2B48 EA02 move.l [A5 - 0x15FE], A0
000000E0 4E75 rts
fn000000E2:
000000E2 598F subq.l A7, 4
000000E4 2F3C 5A45 524F move.l -[A7], 0x5A45524F /* 'ZERO' */
000000EA 4267 clr.w -[A7]
000000EC A9A0 syscall GetResource
000000EE 2017 move.l D0, [A7]
000000F0 6604 bne +0x6 /* 000000F6 */
000000F2 588F addq.l A7, 4
000000F4 4E75 rts
label000000F6:
000000F6 2440 movea.l A2, D0
000000F8 598F subq.l A7, 4
000000FA 2F3C 4441 5441 move.l -[A7], 0x44415441 /* 'DATA' */
00000100 4267 clr.w -[A7]
00000102 A9A0 syscall GetResource
00000104 2057 movea.l A0, [A7]
00000106 2050 movea.l A0, [A0]
00000108 2278 0908 movea.l A1, [0x00000908 /* CurStackBase */]
0000010C 2452 movea.l A2, [A2]
0000010E 600E bra +0x10 /* 0000011E */
label00000110:
00000110 32D8 move.w [A1]+, [A0]+
00000112 660A bne +0xC /* 0000011E */
00000114 321A move.w D1, [A2]+
00000116 6002 bra +0x4 /* 0000011A */
label00000118:
00000118 4259 clr.w [A1]+
label0000011A:
0000011A 51C9 FFFC dbf D1, -0x6 /* 00000118 */
label0000011E:
0000011E BBC9 cmpa.l A5, A1
00000120 66EE bne -0x10 /* 00000110 */
00000122 A9A3 syscall ReleaseResource
00000124 A9A3 syscall ReleaseResource
00000126 598F subq.l A7, 4
00000128 2F3C 4452 454C move.l -[A7], 0x4452454C /* 'DREL' */
0000012E 4267 clr.w -[A7]
00000130 A9A0 syscall GetResource
00000132 2057 movea.l A0, [A7]
00000134 A025 syscall GetHandleSize
00000136 2050 movea.l A0, [A0]
00000138 E240 asr D0.w, 1
0000013A 240D move.l D2, A5
0000013C 6006 bra +0x8 /* 00000144 */
label0000013E:
0000013E 3218 move.w D1, [A0]+
00000140 D5B5 1000 add.l [A5 + D1.w], D2
label00000144:
00000144 51C8 FFF8 dbf D0, -0xA /* 0000013E */
00000148 A9A3 syscall ReleaseResource
0000014A 4E75 rts
export_6:
0000014C 487A 0010 pea.l [PC + 0x10 /* 0000015E, value 0xD '\r', cstring "" */]
label00000150:
00000150 3F3C 0001 move.w -[A7], 0x1
00000154 A9EB syscall Pack4/FP68K
00000156 4E75 rts
00000158 487A 0006 pea.l [PC + 0x6 /* 00000160, value 0xD4CDF, cstring "" */]
0000015C 60F2 bra -0xC /* 00000150 */
0000015E 0000 000D ori.b D0, 0xD /* '\r' */
00000162 4CDF 0103 movem.l D0,D1,A0, [A7]+
00000166 2257 movea.l A1, [A7]
00000168 48E7 C040 movem.l -[A7], D0,D1,A1
0000016C 7000 moveq.l D0, 0x00
0000016E 1010 move.b D0, [A0]
label00000170:
00000170 12D8 move.b [A1]+, [A0]+
00000172 51C8 FFFC dbf D0, -0x6 /* 00000170 */
export_7:
00000176 241F move.l D2, [A7]+
00000178 301F move.w D0, [A7]+
0000017A 6C02 bge +0x4 /* 0000017E */
0000017C 7000 moveq.l D0, 0x00
label0000017E:
0000017E 321F move.w D1, [A7]+
00000180 6E0C bgt +0xE /* 0000018E */
00000182 4441 neg.w D1
00000184 5241 addq.w D1, 1
00000186 9041 sub.w D0, D1
00000188 6C02 bge +0x4 /* 0000018C */
0000018A 7000 moveq.l D0, 0x00
label0000018C:
0000018C 7201 moveq.l D1, 0x01
label0000018E:
0000018E 205F movea.l A0, [A7]+
00000190 2F02 move.l -[A7], D2
00000192 7400 moveq.l D2, 0x00
00000194 1410 move.b D2, [A0]
00000196 9441 sub.w D2, D1
00000198 5242 addq.w D2, 1
0000019A 6F18 ble +0x1A /* 000001B4 */
0000019C B042 cmp.w D0, D2
0000019E 6F02 ble +0x4 /* 000001A2 */
000001A0 3002 move.w D0, D2
label000001A2:
000001A2 9110 sub.b [A0], D0
000001A4 9440 sub.w D2, D0
000001A6 D0C1 add.w A0, D1
000001A8 43F0 0000 lea.l A1, [A0 + D0.w]
000001AC 6002 bra +0x4 /* 000001B0 */
label000001AE:
000001AE 10D9 move.b [A0]+, [A1]+
label000001B0:
000001B0 51CA FFFC dbf D2, -0x6 /* 000001AE */
label000001B4:
000001B4 4E75 rts
export_8:
000001B6 486D FFCA pea.l [A5 - 0x36]
000001BA A86E syscall InitGraf
000001BC A8FE syscall InitFonts
000001BE A912 syscall InitWindows
000001C0 A930 syscall InitMenus
000001C2 A9CC syscall TEInit
000001C4 487A 001C pea.l [PC + 0x1C /* 000001E2, value 0xA9F44E56 */]
000001C8 A97B syscall InitDialogs
000001CA 204F movea.l A0, A7
000001CC 226D EA02 movea.l A1, [A5 - 0x15FE]
000001D0 91D1 sub.l A0, [A1]
000001D2 A02D syscall SetApplLimit
000001D4 4EBA 1386 jsr [PC + 0x1386 /* 0000155C */]
000001D8 7209 moveq.l D1, 0x09
label000001DA:
000001DA A036 syscall MoreMasters
000001DC 51C9 FFFC dbf D1, -0x6 /* 000001DA */
000001E0 4E75 rts
000001E2 A9F4 syscall ExitToShell
export_9:
000001E4 4E56 FFF2 link A6, -0x000E
000001E8 2F07 move.l -[A7], D7
000001EA 206D FFE4 movea.l A0, [A5 - 0x1C]
000001EE B1D6 cmpa.l A0, [A6]
000001F0 57ED EA49 seq [A5 - 0x15B7]
000001F4 70FF moveq.l D0, 0xFFFFFFFF
000001F6 3D40 FFF2 move.w [A6 - 0xE], D0
000001FA 2F2E 000C move.l -[A7], [A6 + 0xC]
000001FE 4879 000B F400 push.l 0xBF400
00000204 4EBA 0C92 jsr [PC + 0xC92 /* 00000E98 */]
00000208 3D40 FFF4 move.w [A6 - 0xC], D0
0000020C 3D6E 000A FFF6 move.w [A6 - 0xA], [A6 + 0xA]
00000212 3D6E 0008 FFF8 move.w [A6 - 0x8], [A6 + 0x8]
00000218 426E FFFA clr.w [A6 - 0x6]
0000021C 426E FFFC clr.w [A6 - 0x4]
00000220 426E FFFE clr.w [A6 - 0x2]
00000224 70FC moveq.l D0, 0xFFFFFFFC
00000226 3B40 ECF8 move.w [A5 - 0x1308], D0
0000022A 700E moveq.l D0, 0x0E
0000022C 2B40 ED04 move.l [A5 - 0x12FC], D0
00000230 41EE FFF2 lea.l A0, [A6 - 0xE]
00000234 2B48 ED00 move.l [A5 - 0x1300], A0
00000238 42AD ECEC clr.l [A5 - 0x1314]
0000023C 4267 clr.w -[A7]
0000023E 486D ECE0 pea.l [A5 - 0x1320]
00000242 1F3C 0001 move.b -[A7], 0x1
00000246 4EBA 13D6 jsr [PC + 0x13D6 /* 0000161E */]
0000024A 301F move.w D0, [A7]+
0000024C 6028 bra +0x2A /* 00000276 */
label0000024E:
0000024E 4A2D EA49 tst.b [A5 - 0x15B7]
00000252 6722 beq +0x24 /* 00000276 */
00000254 4EBA 11E8 jsr [PC + 0x11E8 /* 0000143E */]
00000258 4A00 tst.b D0
0000025A 671A beq +0x1C /* 00000276 */
0000025C 4278 0280 clr.w [0x00000280 /* CurPitch */]
00000260 4267 clr.w -[A7]
00000262 486D ECE0 pea.l [A5 - 0x1320]
00000266 4267 clr.w -[A7]
00000268 4EBA 13C6 jsr [PC + 0x13C6 /* 00001630 */]
0000026C 301F move.w D0, [A7]+
0000026E 303C 0007 move.w D0, 0x7
00000272 4EED 00A2 jmp [A5 + 0xA2 /* export_16 */]
label00000276:
00000276 3E2D ECF0 move.w D7, [A5 - 0x1310]
0000027A 4A47 tst.w D7
0000027C 6ED0 bgt -0x2E /* 0000024E */
0000027E 2E1F move.l D7, [A7]+
00000280 4E5E unlink A6
00000282 205F movea.l A0, [A7]+
00000284 4FEF 0008 lea.l A7, [A7 + 0x8]
00000288 4ED0 jmp [A0]
fn0000028A:
0000028A 2F0C move.l -[A7], A4
0000028C 42A7 clr.l -[A7]
0000028E 4EBA 0594 jsr [PC + 0x594 /* 00000824 */]
00000292 205F movea.l A0, [A7]+
00000294 2848 movea.l A4, A0
00000296 2F0C move.l -[A7], A4
00000298 A915 syscall ShowWindow
0000029A 2F0C move.l -[A7], A4
0000029C A91F syscall SelectWindow
0000029E 2F0C move.l -[A7], A4
000002A0 4EBA 016C jsr [PC + 0x16C /* 0000040E */]
000002A4 285F movea.l A4, [A7]+
000002A6 205F movea.l A0, [A7]+
000002A8 4ED0 jmp [A0]
fn000002AA:
000002AA 6106 bsr +0x8 /* 000002B2 */
000002AC 0454 6578 subi.w [A4], 0x6578 /* 'ex' */
000002B0 7400 moveq.l D2, 0x00
fn000002B2:
000002B2 201F move.l D0, [A7]+
000002B4 4E75 rts
fn000002B6:
000002B6 4E56 FFFE link A6, -0x0002
000002BA 48E7 1F18 movem.l -[A7], D3,D4,D5,D6,D7,A3,A4
000002BE 286E 0008 movea.l A4, [A6 + 0x8]
000002C2 266C 0098 movea.l A3, [A4 + 0x98]
000002C6 2E2B 0032 move.l D7, [A3 + 0x32]
000002CA 2C2B 002A move.l D6, [A3 + 0x2A]
000002CE 7A00 moveq.l D5, 0x00
000002D0 282B 002E move.l D4, [A3 + 0x2E]
000002D4 486B 0004 pea.l [A3 + 0x4]
000002D8 A8A3 syscall EraseRect
000002DA 302B 004A move.w D0, [A3 + 0x4A]
000002DE D06B 001A add.w D0, [A3 + 0x1A]
000002E2 3D40 FFFE move.w [A6 - 0x2], D0
000002E6 3F2B 004C move.w -[A7], [A3 + 0x4C]
000002EA 3F00 move.w -[A7], D0
000002EC A893 syscall MoveTo
000002EE 7A00 moveq.l D5, 0x00
000002F0 601A bra +0x1C /* 0000030C */
label000002F2:
000002F2 BC87 cmp.l D6, D7
000002F4 6F02 ble +0x4 /* 000002F8 */
000002F6 7C00 moveq.l D6, 0x00
label000002F8:
000002F8 2006 move.l D0, D6
000002FA 5286 addq.l D6, 1
000002FC 206B 000C movea.l A0, [A3 + 0xC]
00000300 D090 add.l D0, [A0]
00000302 2040 movea.l A0, D0
00000304 0C10 000D cmpi.b [A0], 0xD /* '\r' */
00000308 6602 bne +0x4 /* 0000030C */
0000030A 5245 addq.w D5, 1
label0000030C:
0000030C BC84 cmp.l D6, D4
0000030E 6700 0076 beq +0x78 /* 00000386 */
00000312 BA6B 0042 cmp.w D5, [A3 + 0x42]
00000316 6DDA blt -0x24 /* 000002F2 */
00000318 6000 006C bra +0x6E /* 00000386 */
label0000031C:
0000031C BC87 cmp.l D6, D7
0000031E 6F02 ble +0x4 /* 00000322 */
00000320 7C00 moveq.l D6, 0x00
label00000322:
00000322 302C 0030 move.w D0, [A4 + 0x30]
00000326 B06B 0008 cmp.w D0, [A3 + 0x8]
0000032A 6E00 005E bgt +0x60 /* 0000038A */
0000032E 2606 move.l D3, D6
00000330 600A bra +0xC /* 0000033C */
label00000332:
00000332 B687 cmp.l D3, D7
00000334 6716 beq +0x18 /* 0000034C */
00000336 B684 cmp.l D3, D4
00000338 6712 beq +0x14 /* 0000034C */
0000033A 5283 addq.l D3, 1
label0000033C:
0000033C 206B 000C movea.l A0, [A3 + 0xC]
00000340 2010 move.l D0, [A0]
00000342 D083 add.l D0, D3
00000344 2040 movea.l A0, D0
00000346 0C10 000D cmpi.b [A0], 0xD /* '\r' */
0000034A 66E6 bne -0x18 /* 00000332 */
label0000034C:
0000034C 2003 move.l D0, D3
0000034E 9086 sub.l D0, D6
00000350 206B 000C movea.l A0, [A3 + 0xC]
00000354 2F10 move.l -[A7], [A0]
00000356 3F06 move.w -[A7], D6
00000358 3F00 move.w -[A7], D0
0000035A A885 syscall DrawText
0000035C 2C03 move.l D6, D3
0000035E BC84 cmp.l D6, D4
00000360 6728 beq +0x2A /* 0000038A */
00000362 2006 move.l D0, D6
00000364 5286 addq.l D6, 1
00000366 206B 000C movea.l A0, [A3 + 0xC]
0000036A D090 add.l D0, [A0]
0000036C 2040 movea.l A0, D0
0000036E 0C10 000D cmpi.b [A0], 0xD /* '\r' */
00000372 6612 bne +0x14 /* 00000386 */
00000374 302B 0018 move.w D0, [A3 + 0x18]
00000378 D16E FFFE add.w [A6 - 0x2], D0
0000037C 3F3C 0006 move.w -[A7], 0x6
00000380 3F2E FFFE move.w -[A7], [A6 - 0x2]
00000384 A893 syscall MoveTo
label00000386:
00000386 BC84 cmp.l D6, D4
00000388 6692 bne -0x6C /* 0000031C */
label0000038A:
0000038A 276C 0030 0014 move.l [A3 + 0x14], [A4 + 0x30]
00000390 4CDF 18F8 movem.l D3,D4,D5,D6,D7,A3,A4, [A7]+
00000394 4E5E unlink A6
00000396 4E75 rts
fn00000398:
00000398 4E56 FFFE link A6, -0x0002
0000039C 48E7 0138 movem.l -[A7], D7,A2,A3,A4
000003A0 286E 0008 movea.l A4, [A6 + 0x8]
000003A4 266C 0098 movea.l A3, [A4 + 0x98]
000003A8 4267 clr.w -[A7]
000003AA 2F2B 0026 move.l -[A7], [A3 + 0x26]
000003AE A960 syscall GetControlValue/GetCtlValue
000003B0 301F move.w D0, [A7]+
000003B2 322B 0042 move.w D1, [A3 + 0x42]
000003B6 9240 sub.w D1, D0
000003B8 3E01 move.w D7, D1
000003BA 4A47 tst.w D7
000003BC 6742 beq +0x44 /* 00000400 */
000003BE 9F6B 0042 sub.w [A3 + 0x42], D7
000003C2 302B 0018 move.w D0, [A3 + 0x18]
000003C6 C1C7 muls.w D0, D7
000003C8 42A7 clr.l -[A7]
000003CA 3D40 FFFE move.w [A6 - 0x2], D0
000003CE A8D8 syscall NewRgn
000003D0 205F movea.l A0, [A7]+
000003D2 2448 movea.l A2, A0
000003D4 486B 0004 pea.l [A3 + 0x4]
000003D8 4267 clr.w -[A7]
000003DA 3F2E FFFE move.w -[A7], [A6 - 0x2]
000003DE 4850 pea.l [A0]
000003E0 A8EF syscall ScrollRect
000003E2 2F0A move.l -[A7], A2
000003E4 A879 syscall SetClip
000003E6 2F0C move.l -[A7], A4
000003E8 4EBA FECC jsr [PC - 0x134 /* 000002B6 */]
000003EC 588F addq.l A7, 4
000003EE 206D FFCA movea.l A0, [A5 - 0x36]
000003F2 4868 0010 pea.l [A0 + 0x10]
000003F6 A87B syscall ClipRect
000003F8 2F0A move.l -[A7], A2
000003FA A929 syscall ValidRgn
000003FC 2F0A move.l -[A7], A2
000003FE A8D9 syscall DisposRgn/DisposeRgn
label00000400:
00000400 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00000404 4E5E unlink A6
00000406 205F movea.l A0, [A7]+
00000408 4FEF 0004 lea.l A7, [A7 + 0x4]
0000040C 4ED0 jmp [A0]
fn0000040E:
0000040E 4E56 FFE4 link A6, -0x001C
00000412 48E7 0038 movem.l -[A7], A2,A3,A4
00000416 286E 0008 movea.l A4, [A6 + 0x8]
0000041A 246C 0098 movea.l A2, [A4 + 0x98]
0000041E 4267 clr.w -[A7]
00000420 486E FFF0 pea.l [A6 - 0x10]
00000424 A911 syscall CheckUpdate
00000426 101F move.b D0, [A7]+
00000428 4A00 tst.b D0
0000042A 6700 008A beq +0x8C /* 000004B6 */
0000042E B9EE FFF2 cmpa.l A4, [A6 - 0xE]
00000432 6600 0082 bne +0x84 /* 000004B6 */
00000436 486D EB40 pea.l [A5 - 0x14C0]
0000043A A874 syscall GetPort
0000043C 2F0C move.l -[A7], A4
0000043E A873 syscall SetPort
00000440 2F0C move.l -[A7], A4
00000442 A922 syscall BeginUpdate
00000444 42A7 clr.l -[A7]
00000446 A8D8 syscall NewRgn
00000448 205F movea.l A0, [A7]+
0000044A 2648 movea.l A3, A0
0000044C 4850 pea.l [A0]
0000044E A87A syscall GetClip
00000450 486A 0004 pea.l [A2 + 0x4]
00000454 A87B syscall ClipRect
00000456 486A 0004 pea.l [A2 + 0x4]
0000045A A8A3 syscall EraseRect
0000045C 2F0C move.l -[A7], A4
0000045E 4EBA FE56 jsr [PC - 0x1AA /* 000002B6 */]
00000462 588F addq.l A7, 4
00000464 206D FFCA movea.l A0, [A5 - 0x36]
00000468 2D68 0030 FFE4 move.l [A6 - 0x1C], [A0 + 0x30]
0000046E 486C 0010 pea.l [A4 + 0x10]
00000472 A87B syscall ClipRect
00000474 2F0C move.l -[A7], A4
00000476 A969 syscall DrawControls
00000478 41EE FFE8 lea.l A0, [A6 - 0x18]
0000047C 43EC 0010 lea.l A1, [A4 + 0x10]
00000480 20D9 move.l [A0]+, [A1]+
00000482 20D9 move.l [A0]+, [A1]+
00000484 302E FFEE move.w D0, [A6 - 0x12]
00000488 0640 FFF1 addi.w D0, 0xFFF1
0000048C 3D40 FFEA move.w [A6 - 0x16], D0
00000490 486E FFE8 pea.l [A6 - 0x18]
00000494 A87B syscall ClipRect
00000496 2F0C move.l -[A7], A4
00000498 A904 syscall DrawGrowIcon
0000049A 2F0B move.l -[A7], A3
0000049C A879 syscall SetClip
0000049E 2F0B move.l -[A7], A3
000004A0 A8D9 syscall DisposRgn/DisposeRgn
000004A2 206D FFCA movea.l A0, [A5 - 0x36]
000004A6 216E FFE4 0030 move.l [A0 + 0x30], [A6 - 0x1C]
000004AC 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
000004B0 A873 syscall SetPort
000004B2 2F0C move.l -[A7], A4
000004B4 A923 syscall EndUpdate
label000004B6:
000004B6 4CDF 1C00 movem.l A2,A3,A4, [A7]+
000004BA 4E5E unlink A6
000004BC 205F movea.l A0, [A7]+
000004BE 4FEF 0004 lea.l A7, [A7 + 0x4]
000004C2 4ED0 jmp [A0]
fn000004C4:
000004C4 4E56 FFF8 link A6, -0x0008
000004C8 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
000004CC 286E 0008 movea.l A4, [A6 + 0x8]
000004D0 266C 0098 movea.l A3, [A4 + 0x98]
000004D4 486C 0010 pea.l [A4 + 0x10]
000004D8 A87B syscall ClipRect
000004DA 276C 0014 0008 move.l [A3 + 0x8], [A4 + 0x14]
000004E0 246B 0026 movea.l A2, [A3 + 0x26]
000004E4 200A move.l D0, A2
000004E6 6700 006A beq +0x6C /* 00000552 */
000004EA 302C 0016 move.w D0, [A4 + 0x16]
000004EE 5240 addq.w D0, 1
000004F0 3D40 FFFE move.w [A6 - 0x2], D0
000004F4 302C 0016 move.w D0, [A4 + 0x16]
000004F8 0640 FFF1 addi.w D0, 0xFFF1
000004FC 3D40 FFFA move.w [A6 - 0x6], D0
00000500 302C 0014 move.w D0, [A4 + 0x14]
00000504 0640 FFF2 addi.w D0, 0xFFF2
00000508 3D40 FFFC move.w [A6 - 0x4], D0
0000050C 70FF moveq.l D0, 0xFFFFFFFF
0000050E 3D40 FFF8 move.w [A6 - 0x8], D0
00000512 2052 movea.l A0, [A2]
00000514 5088 addq.l A0, 8
00000516 43EE FFF8 lea.l A1, [A6 - 0x8]
0000051A 20D9 move.l [A0]+, [A1]+
0000051C 20D9 move.l [A0]+, [A1]+
0000051E 376E FFFA 000A move.w [A3 + 0xA], [A6 - 0x6]
00000524 302B 0008 move.w D0, [A3 + 0x8]
00000528 906B 0004 sub.w D0, [A3 + 0x4]
0000052C 48C0 ext.l D0
0000052E 81EB 0018 divs.w D0, [A3 + 0x18]
00000532 3E00 move.w D7, D0
00000534 3740 003A move.w [A3 + 0x3A], D0
00000538 7C00 moveq.l D6, 0x00
0000053A 3047 movea.w A0, D7
0000053C B1EB 0010 cmpa.l A0, [A3 + 0x10]
00000540 6C0A bge +0xC /* 0000054C */
00000542 3047 movea.w A0, D7
00000544 202B 0010 move.l D0, [A3 + 0x10]
00000548 9088 sub.l D0, A0
0000054A 3C00 move.w D6, D0
label0000054C:
0000054C 2F0A move.l -[A7], A2
0000054E 3F06 move.w -[A7], D6
00000550 A965 syscall SetControlMaximum/SetMaxCtl
label00000552:
00000552 302B 0018 move.w D0, [A3 + 0x18]
00000556 C1C7 muls.w D0, D7
00000558 D06B 0004 add.w D0, [A3 + 0x4]
0000055C 3740 0008 move.w [A3 + 0x8], D0
00000560 3D6B 0008 FFF8 move.w [A6 - 0x8], [A3 + 0x8]
00000566 206D FFCA movea.l A0, [A5 - 0x36]
0000056A 3D68 0014 FFFC move.w [A6 - 0x4], [A0 + 0x14]
00000570 3D6B 0006 FFFA move.w [A6 - 0x6], [A3 + 0x6]
00000576 3D6B 000A FFFE move.w [A6 - 0x2], [A3 + 0xA]
0000057C 486E FFF8 pea.l [A6 - 0x8]
00000580 A8A3 syscall EraseRect
00000582 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
00000586 4E5E unlink A6
00000588 4E75 rts
fn0000058A:
0000058A 4E56 0000 link A6, 0
0000058E 48E7 0018 movem.l -[A7], A3,A4
00000592 206E 0008 movea.l A0, [A6 + 0x8]
00000596 2868 0098 movea.l A4, [A0 + 0x98]
0000059A 4AAC 0026 tst.l [A4 + 0x26]
0000059E 6738 beq +0x3A /* 000005D8 */
000005A0 42A7 clr.l -[A7]
000005A2 A8D8 syscall NewRgn
000005A4 205F movea.l A0, [A7]+
000005A6 2648 movea.l A3, A0
000005A8 4850 pea.l [A0]
000005AA A87A syscall GetClip
000005AC 206C 0026 movea.l A0, [A4 + 0x26]
000005B0 2050 movea.l A0, [A0]
000005B2 4868 0008 pea.l [A0 + 0x8]
000005B6 A87B syscall ClipRect
000005B8 206C 0026 movea.l A0, [A4 + 0x26]
000005BC 2050 movea.l A0, [A0]
000005BE 4868 0008 pea.l [A0 + 0x8]
000005C2 A8A3 syscall EraseRect
000005C4 206C 0026 movea.l A0, [A4 + 0x26]
000005C8 2050 movea.l A0, [A0]
000005CA 4868 0008 pea.l [A0 + 0x8]
000005CE A928 syscall InvalRect
000005D0 2F0B move.l -[A7], A3
000005D2 A879 syscall SetClip
000005D4 2F0B move.l -[A7], A3
000005D6 A8D9 syscall DisposRgn/DisposeRgn
label000005D8:
000005D8 4CDF 1800 movem.l A3,A4, [A7]+
000005DC 4E5E unlink A6
000005DE 4E75 rts
000005E0 4E56 0000 link A6, 0
000005E4 48E7 0038 movem.l -[A7], A2,A3,A4
000005E8 266E 0008 movea.l A3, [A6 + 0x8]
000005EC 286E 000C movea.l A4, [A6 + 0xC]
000005F0 246C 0098 movea.l A2, [A4 + 0x98]
000005F4 486D EB40 pea.l [A5 - 0x14C0]
000005F8 A874 syscall GetPort
000005FA 2F0C move.l -[A7], A4
000005FC A873 syscall SetPort
000005FE 2F0C move.l -[A7], A4
00000600 3F2B 0002 move.w -[A7], [A3 + 0x2]
00000604 3F13 move.w -[A7], [A3]
00000606 4267 clr.w -[A7]
00000608 A91B syscall MoveWindow
0000060A 2F0C move.l -[A7], A4
0000060C 4EBA FF7C jsr [PC - 0x84 /* 0000058A */]
00000610 588F addq.l A7, 4
00000612 302B 0006 move.w D0, [A3 + 0x6]
00000616 906B 0002 sub.w D0, [A3 + 0x2]
0000061A 322B 0004 move.w D1, [A3 + 0x4]
0000061E 9253 sub.w D1, [A3]
00000620 2F0C move.l -[A7], A4
00000622 3F00 move.w -[A7], D0
00000624 3F01 move.w -[A7], D1
00000626 1F3C 0001 move.b -[A7], 0x1
0000062A A91D syscall SizeWindow
0000062C 2F0C move.l -[A7], A4
0000062E 4EBA FE94 jsr [PC - 0x16C /* 000004C4 */]
00000632 588F addq.l A7, 4
00000634 2F0C move.l -[A7], A4
00000636 4EBA FD60 jsr [PC - 0x2A0 /* 00000398 */]
0000063A 2F0C move.l -[A7], A4
0000063C 4EBA FF4C jsr [PC - 0xB4 /* 0000058A */]
00000640 588F addq.l A7, 4
00000642 486C 0010 pea.l [A4 + 0x10]
00000646 A928 syscall InvalRect
00000648 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
0000064C A873 syscall SetPort
0000064E 4CDF 1C00 movem.l A2,A3,A4, [A7]+
00000652 4E5E unlink A6
00000654 205F movea.l A0, [A7]+
00000656 4FEF 0008 lea.l A7, [A7 + 0x8]
0000065A 4ED0 jmp [A0]
fn0000065C:
0000065C 4E56 0000 link A6, 0
00000660 48E7 0018 movem.l -[A7], A3,A4
00000664 286E 0008 movea.l A4, [A6 + 0x8]
00000668 41ED EAE6 lea.l A0, [A5 - 0x151A]
0000066C 2648 movea.l A3, A0
0000066E 268C move.l [A3], A4
00000670 7006 moveq.l D0, 0x06
00000672 3740 004C move.w [A3 + 0x4C], D0
00000676 7005 moveq.l D0, 0x05
00000678 3740 004A move.w [A3 + 0x4A], D0
0000067C 276B 004A 0004 move.l [A3 + 0x4], [A3 + 0x4A]
00000682 376C 0016 000A move.w [A3 + 0xA], [A4 + 0x16]
00000688 376C 0014 0008 move.w [A3 + 0x8], [A4 + 0x14]
0000068E 066B FFF0 000A addi.w [A3 + 0xA], 0xFFF0
00000694 066B FFF0 0008 addi.w [A3 + 0x8], 0xFFF0
0000069A 42AB 0010 clr.l [A3 + 0x10]
0000069E 486B 001A pea.l [A3 + 0x1A]
000006A2 A88B syscall GetFontInfo
000006A4 302B 0020 move.w D0, [A3 + 0x20]
000006A8 D06B 001A add.w D0, [A3 + 0x1A]
000006AC D06B 001C add.w D0, [A3 + 0x1C]
000006B0 3740 0018 move.w [A3 + 0x18], D0
000006B4 276B 004A 0014 move.l [A3 + 0x14], [A3 + 0x4A]
000006BA 302B 001A move.w D0, [A3 + 0x1A]
000006BE D16B 0014 add.w [A3 + 0x14], D0
000006C2 42AB 002E clr.l [A3 + 0x2E]
000006C6 42AB 002A clr.l [A3 + 0x2A]
000006CA 306E 000C movea.w A0, [A6 + 0xC]
000006CE 2748 0032 move.l [A3 + 0x32], A0
000006D2 42AB 0036 clr.l [A3 + 0x36]
000006D6 42AB 003C clr.l [A3 + 0x3C]
000006DA 42AB 0046 clr.l [A3 + 0x46]
000006DE 426B 0040 clr.w [A3 + 0x40]
000006E2 426B 0042 clr.w [A3 + 0x42]
000006E6 422B 0044 clr.b [A3 + 0x44]
000006EA 42AB 0056 clr.l [A3 + 0x56]
000006EE 42A7 clr.l -[A7]
000006F0 306E 000C movea.w A0, [A6 + 0xC]
000006F4 2F08 move.l -[A7], A0
000006F6 4EBA 0EAE jsr [PC + 0xEAE /* 000015A6 */]
000006FA 205F movea.l A0, [A7]+
000006FC 2748 000C move.l [A3 + 0xC], A0
00000700 200B move.l D0, A3
00000702 4CDF 1800 movem.l A3,A4, [A7]+
00000706 4E5E unlink A6
00000708 4E75 rts
fn0000070A:
0000070A 4E56 FFF6 link A6, -0x000A
0000070E 48E7 0118 movem.l -[A7], D7,A3,A4
00000712 422E FFFF clr.b [A6 - 0x1]
00000716 486E FFF6 pea.l [A6 - 0xA]
0000071A 3F3C 000A move.w -[A7], 0xA /* '\n' */
0000071E 3F3C 0032 move.w -[A7], 0x32 /* '2' */
00000722 3F3C 01F4 move.w -[A7], 0x1F4
00000726 3F3C 0118 move.w -[A7], 0x118
0000072A A8A7 syscall SetRect
0000072C 4EBA FB7C jsr [PC - 0x484 /* 000002AA */]
00000730 42A7 clr.l -[A7]
00000732 486D EA4A pea.l [A5 - 0x15B6]
00000736 486E FFF6 pea.l [A6 - 0xA]
0000073A 2F00 move.l -[A7], D0
0000073C 4267 clr.w -[A7]
0000073E 3F3C 0008 move.w -[A7], 0x8
00000742 42A7 clr.l -[A7]
00000744 1F3C 0001 move.b -[A7], 0x1
00000748 42A7 clr.l -[A7]
0000074A A913 syscall NewWindow
0000074C 205F movea.l A0, [A7]+
0000074E 2848 movea.l A4, A0
00000750 486D EB40 pea.l [A5 - 0x14C0]
00000754 A874 syscall GetPort
00000756 2F0C move.l -[A7], A4
00000758 A873 syscall SetPort
0000075A 3F2E 000C move.w -[A7], [A6 + 0xC]
0000075E A887 syscall TextFont
00000760 3F2E 000A move.w -[A7], [A6 + 0xA]
00000764 A88A syscall TextSize
00000766 397C 7FFE 006C move.w [A4 + 0x6C], 0x7FFE
0000076C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000770 2F0C move.l -[A7], A4
00000772 4EBA FEE8 jsr [PC - 0x118 /* 0000065C */]
00000776 5C8F addq.l A7, 6
00000778 2640 movea.l A3, D0
0000077A 2F0C move.l -[A7], A4
0000077C 2F00 move.l -[A7], D0
0000077E A918 syscall SetWRefCon
00000780 302B 0008 move.w D0, [A3 + 0x8]
00000784 906B 0004 sub.w D0, [A3 + 0x4]
00000788 3E00 move.w D7, D0
0000078A 3047 movea.w A0, D7
0000078C 2008 move.l D0, A0
0000078E 81EB 0018 divs.w D0, [A3 + 0x18]
00000792 3740 003A move.w [A3 + 0x3A], D0
00000796 302B 0018 move.w D0, [A3 + 0x18]
0000079A C1EB 003A muls.w D0, [A3 + 0x3A]
0000079E D06B 004A add.w D0, [A3 + 0x4A]
000007A2 0640 000F addi.w D0, 0xF
000007A6 3E00 move.w D7, D0
000007A8 2F0C move.l -[A7], A4
000007AA 3F2C 0016 move.w -[A7], [A4 + 0x16]
000007AE 3F07 move.w -[A7], D7
000007B0 4267 clr.w -[A7]
000007B2 A91D syscall SizeWindow
000007B4 302C 0016 move.w D0, [A4 + 0x16]
000007B8 5240 addq.w D0, 1
000007BA 3D40 FFFC move.w [A6 - 0x4], D0
000007BE 302C 0016 move.w D0, [A4 + 0x16]
000007C2 0640 FFF1 addi.w D0, 0xFFF1
000007C6 3D40 FFF8 move.w [A6 - 0x8], D0
000007CA 302C 0014 move.w D0, [A4 + 0x14]
000007CE 0640 FFF2 addi.w D0, 0xFFF2
000007D2 3D40 FFFA move.w [A6 - 0x6], D0
000007D6 70FF moveq.l D0, 0xFFFFFFFF
000007D8 3D40 FFF6 move.w [A6 - 0xA], D0
000007DC 42A7 clr.l -[A7]
000007DE 2F0C move.l -[A7], A4
000007E0 486E FFF6 pea.l [A6 - 0xA]
000007E4 486E FFFF pea.l [A6 - 0x1]
000007E8 1F3C 0001 move.b -[A7], 0x1
000007EC 4267 clr.w -[A7]
000007EE 4267 clr.w -[A7]
000007F0 4267 clr.w -[A7]
000007F2 3F3C 0010 move.w -[A7], 0x10
000007F6 4878 0056 push.l 0x56 /* 'V' */
000007FA A954 syscall NewControl
000007FC 205F movea.l A0, [A7]+
000007FE 2748 0026 move.l [A3 + 0x26], A0
00000802 3F2B 004C move.w -[A7], [A3 + 0x4C]
00000806 3F2B 004A move.w -[A7], [A3 + 0x4A]
0000080A A893 syscall MoveTo
0000080C 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
00000810 A873 syscall SetPort
00000812 200C move.l D0, A4
00000814 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000818 4E5E unlink A6
0000081A 205F movea.l A0, [A7]+
0000081C 4FEF 0006 lea.l A7, [A7 + 0x6]
00000820 2E80 move.l [A7], D0
00000822 4ED0 jmp [A0]
fn00000824:
00000824 4E56 FFFC link A6, -0x0004
00000828 48E7 0018 movem.l -[A7], A3,A4
0000082C 2878 09D6 movea.l A4, [0x000009D6 /* WindowList */]
00000830 266D EA02 movea.l A3, [A5 - 0x15FE]
00000834 6032 bra +0x34 /* 00000868 */
label00000836:
00000836 0C6C 7FFE 006C cmpi.w [A4 + 0x6C], 0x7FFE
0000083C 6626 bne +0x28 /* 00000864 */
0000083E 4AAC 0086 tst.l [A4 + 0x86]
00000842 6720 beq +0x22 /* 00000864 */
00000844 206C 0086 movea.l A0, [A4 + 0x86]
00000848 2D50 FFFC move.l [A6 - 0x4], [A0]
0000084C 4EBA FA5C jsr [PC - 0x5A4 /* 000002AA */]
00000850 2F00 move.l -[A7], D0
00000852 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000856 4EBA 0C84 jsr [PC + 0xC84 /* 000014DC */]
0000085A 508F addq.l A7, 8
0000085C 4A40 tst.w D0
0000085E 6604 bne +0x6 /* 00000864 */
00000860 200C move.l D0, A4
00000862 601E bra +0x20 /* 00000882 */
label00000864:
00000864 286C 0090 movea.l A4, [A4 + 0x90]
label00000868:
00000868 200C move.l D0, A4
0000086A 66CA bne -0x34 /* 00000836 */
0000086C 42A7 clr.l -[A7]
0000086E 3F2B 0008 move.w -[A7], [A3 + 0x8]
00000872 3F2B 000A move.w -[A7], [A3 + 0xA]
00000876 3F2B 000C move.w -[A7], [A3 + 0xC]
0000087A 4EBA FE8E jsr [PC - 0x172 /* 0000070A */]
0000087E 205F movea.l A0, [A7]+
00000880 2008 move.l D0, A0
label00000882:
00000882 4CDF 1800 movem.l A3,A4, [A7]+
00000886 4E5E unlink A6
00000888 205F movea.l A0, [A7]+
0000088A 2E80 move.l [A7], D0
0000088C 4ED0 jmp [A0]
fn0000088E:
0000088E 4E56 0000 link A6, 0
00000892 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00000896 286E 0008 movea.l A4, [A6 + 0x8]
0000089A 7C00 moveq.l D6, 0x00
0000089C 3A2C 0034 move.w D5, [A4 + 0x34]
000008A0 202C 002E move.l D0, [A4 + 0x2E]
000008A4 B0AC 002A cmp.l D0, [A4 + 0x2A]
000008A8 5DC0 slt D0
000008AA 4400 neg.b D0
000008AC 4880 ext.w D0
000008AE 1E00 move.b D7, D0
000008B0 4A00 tst.b D0
000008B2 670C beq +0xE /* 000008C0 */
000008B4 206C 000C movea.l A0, [A4 + 0xC]
000008B8 3245 movea.w A1, D5
000008BA D3D0 add.l A1, [A0]
000008BC 2449 movea.l A2, A1
000008BE 601A bra +0x1C /* 000008DA */
label000008C0:
000008C0 3045 movea.w A0, D5
000008C2 B1EC 002E cmpa.l A0, [A4 + 0x2E]
000008C6 6F06 ble +0x8 /* 000008CE */
000008C8 202C 002E move.l D0, [A4 + 0x2E]
000008CC 6004 bra +0x6 /* 000008D2 */
label000008CE:
000008CE 3045 movea.w A0, D5
000008D0 2008 move.l D0, A0
label000008D2:
000008D2 206C 000C movea.l A0, [A4 + 0xC]
000008D6 D090 add.l D0, [A0]
000008D8 2440 movea.l A2, D0
label000008DA:
000008DA 206C 000C movea.l A0, [A4 + 0xC]
000008DE 2010 move.l D0, [A0]
000008E0 D0AC 002A add.l D0, [A4 + 0x2A]
000008E4 2640 movea.l A3, D0
000008E6 600A bra +0xC /* 000008F2 */
label000008E8:
000008E8 0C13 000D cmpi.b [A3], 0xD /* '\r' */
000008EC 6602 bne +0x4 /* 000008F0 */
000008EE 5246 addq.w D6, 1
label000008F0:
000008F0 528B addq.l A3, 1
label000008F2:
000008F2 B7CA cmpa.l A3, A2
000008F4 65F2 bcs -0xC /* 000008E8 */
000008F6 206C 000C movea.l A0, [A4 + 0xC]
000008FA 2010 move.l D0, [A0]
000008FC D0AC 002E add.l D0, [A4 + 0x2E]
00000900 2440 movea.l A2, D0
00000902 4A07 tst.b D7
00000904 6716 beq +0x18 /* 0000091C */
00000906 206C 000C movea.l A0, [A4 + 0xC]
0000090A 2650 movea.l A3, [A0]
0000090C 600A bra +0xC /* 00000918 */
label0000090E:
0000090E 0C13 000D cmpi.b [A3], 0xD /* '\r' */
00000912 6602 bne +0x4 /* 00000916 */
00000914 5246 addq.w D6, 1
label00000916:
00000916 528B addq.l A3, 1
label00000918:
00000918 B7CA cmpa.l A3, A2
0000091A 65F2 bcs -0xC /* 0000090E */
label0000091C:
0000091C 206C 000C movea.l A0, [A4 + 0xC]
00000920 2010 move.l D0, [A0]
00000922 D0AC 002E add.l D0, [A4 + 0x2E]
00000926 2040 movea.l A0, D0
00000928 0C28 000D FFFF cmpi.b [A0 - 0x1], 0xD /* '\r' */
0000092E 6702 beq +0x4 /* 00000932 */
00000930 5246 addq.w D6, 1
label00000932:
00000932 3046 movea.w A0, D6
00000934 2948 0010 move.l [A4 + 0x10], A0
00000938 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
0000093C 4E5E unlink A6
0000093E 4E75 rts
fn00000940:
00000940 4E56 FFFE link A6, -0x0002
00000944 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00000948 286E 000C movea.l A4, [A6 + 0xC]
0000094C 3E2E 0010 move.w D7, [A6 + 0x10]
00000950 206E 0008 movea.l A0, [A6 + 0x8]
00000954 2668 0098 movea.l A3, [A0 + 0x98]
00000958 206B 000C movea.l A0, [A3 + 0xC]
0000095C 2450 movea.l A2, [A0]
0000095E 202B 0032 move.l D0, [A3 + 0x32]
00000962 5380 subq.l D0, 1
00000964 2C00 move.l D6, D0
00000966 426E FFFE clr.w [A6 - 0x2]
0000096A 2A2B 002E move.l D5, [A3 + 0x2E]
0000096E BA86 cmp.l D5, D6
00000970 6706 beq +0x8 /* 00000978 */
00000972 2005 move.l D0, D5
00000974 5280 addq.l D0, 1
00000976 6002 bra +0x4 /* 0000097A */
label00000978:
00000978 7000 moveq.l D0, 0x00
label0000097A:
0000097A 2800 move.l D4, D0
0000097C 6028 bra +0x2A /* 000009A6 */
label0000097E:
0000097E B8AB 002A cmp.l D4, [A3 + 0x2A]
00000982 6606 bne +0x8 /* 0000098A */
00000984 7001 moveq.l D0, 0x01
00000986 3D40 FFFE move.w [A6 - 0x2], D0
label0000098A:
0000098A 200A move.l D0, A2
0000098C D085 add.l D0, D5
0000098E 41D4 lea.l A0, [A4]
00000990 528C addq.l A4, 1
00000992 2240 movea.l A1, D0
00000994 1290 move.b [A1], [A0]
00000996 2A04 move.l D5, D4
00000998 B886 cmp.l D4, D6
0000099A 6706 beq +0x8 /* 000009A2 */
0000099C 2004 move.l D0, D4
0000099E 5280 addq.l D0, 1
000009A0 6002 bra +0x4 /* 000009A4 */
label000009A2:
000009A2 7000 moveq.l D0, 0x00
label000009A4:
000009A4 2800 move.l D4, D0
label000009A6:
000009A6 3007 move.w D0, D7
000009A8 5347 subq.w D7, 1
000009AA 4A40 tst.w D0
000009AC 66D0 bne -0x2E /* 0000097E */
000009AE 2745 002E move.l [A3 + 0x2E], D5
000009B2 4A6E FFFE tst.w [A6 - 0x2]
000009B6 6610 bne +0x12 /* 000009C8 */
000009B8 602E bra +0x30 /* 000009E8 */
label000009BA:
000009BA B886 cmp.l D4, D6
000009BC 6706 beq +0x8 /* 000009C4 */
000009BE 2004 move.l D0, D4
000009C0 5280 addq.l D0, 1
000009C2 6002 bra +0x4 /* 000009C6 */
label000009C4:
000009C4 7000 moveq.l D0, 0x00
label000009C6:
000009C6 2800 move.l D4, D0
label000009C8:
000009C8 200A move.l D0, A2
000009CA D084 add.l D0, D4
000009CC 2040 movea.l A0, D0
000009CE 0C10 000D cmpi.b [A0], 0xD /* '\r' */
000009D2 6704 beq +0x6 /* 000009D8 */
000009D4 B885 cmp.l D4, D5
000009D6 66E2 bne -0x1C /* 000009BA */
label000009D8:
000009D8 B886 cmp.l D4, D6
000009DA 6706 beq +0x8 /* 000009E2 */
000009DC 2004 move.l D0, D4
000009DE 5280 addq.l D0, 1
000009E0 6002 bra +0x4 /* 000009E4 */
label000009E2:
000009E2 7000 moveq.l D0, 0x00
label000009E4:
000009E4 2740 002A move.l [A3 + 0x2A], D0
label000009E8:
000009E8 2F0B move.l -[A7], A3
000009EA 4EBA FEA2 jsr [PC - 0x15E /* 0000088E */]
000009EE 588F addq.l A7, 4
000009F0 306B 003A movea.w A0, [A3 + 0x3A]
000009F4 202B 0010 move.l D0, [A3 + 0x10]
000009F8 9088 sub.l D0, A0
000009FA 3740 0042 move.w [A3 + 0x42], D0
000009FE 4A6B 0042 tst.w [A3 + 0x42]
00000A02 6C04 bge +0x6 /* 00000A08 */
00000A04 426B 0042 clr.w [A3 + 0x42]
label00000A08:
00000A08 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
00000A0C 4E5E unlink A6
00000A0E 4E75 rts
fn00000A10:
00000A10 4E56 FFE8 link A6, -0x0018
00000A14 48E7 0F38 movem.l -[A7], D4,D5,D6,D7,A2,A3,A4
00000A18 286E 0008 movea.l A4, [A6 + 0x8]
00000A1C 206E 000C movea.l A0, [A6 + 0xC]
00000A20 2668 0026 movea.l A3, [A0 + 0x26]
00000A24 246B 0098 movea.l A2, [A3 + 0x98]
00000A28 3C2A 0018 move.w D6, [A2 + 0x18]
00000A2C 486D EB40 pea.l [A5 - 0x14C0]
00000A30 A874 syscall GetPort
00000A32 2F0B move.l -[A7], A3
00000A34 A873 syscall SetPort
00000A36 4267 clr.w -[A7]
00000A38 2F2A 0026 move.l -[A7], [A2 + 0x26]
00000A3C A962 syscall GetControlMaximum/GetMaxCtl
00000A3E 301F move.w D0, [A7]+
00000A40 3E00 move.w D7, D0
00000A42 4267 clr.w -[A7]
00000A44 2F2A 0026 move.l -[A7], [A2 + 0x26]
00000A48 A960 syscall GetControlValue/GetCtlValue
00000A4A 301F move.w D0, [A7]+
00000A4C B047 cmp.w D0, D7
00000A4E 6708 beq +0xA /* 00000A58 */
00000A50 2F2A 0026 move.l -[A7], [A2 + 0x26]
00000A54 3F07 move.w -[A7], D7
00000A56 A963 syscall SetControlValue/SetCtlValue
label00000A58:
00000A58 42A7 clr.l -[A7]
00000A5A A8D8 syscall NewRgn
00000A5C 205F movea.l A0, [A7]+
00000A5E 2D48 FFFC move.l [A6 - 0x4], A0
00000A62 3E2B 0030 move.w D7, [A3 + 0x30]
00000A66 BE6A 0008 cmp.w D7, [A2 + 0x8]
00000A6A 6D00 007C blt +0x7E /* 00000AE8 */
00000A6E 41EE FFEC lea.l A0, [A6 - 0x14]
00000A72 43EA 0004 lea.l A1, [A2 + 0x4]
00000A76 20D9 move.l [A0]+, [A1]+
00000A78 20D9 move.l [A0]+, [A1]+
00000A7A 3006 move.w D0, D6
00000A7C 4440 neg.w D0
00000A7E 486E FFEC pea.l [A6 - 0x14]
00000A82 4267 clr.w -[A7]
00000A84 3F00 move.w -[A7], D0
00000A86 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000A8A A8EF syscall ScrollRect
00000A8C 42A7 clr.l -[A7]
00000A8E A8D8 syscall NewRgn
00000A90 205F movea.l A0, [A7]+
00000A92 2D48 FFF4 move.l [A6 - 0xC], A0
00000A96 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000A9A 486B 0010 pea.l [A3 + 0x10]
00000A9E A8DF syscall RectRgn
00000AA0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000AA4 2F2B 0018 move.l -[A7], [A3 + 0x18]
00000AA8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000AAC A8E6 syscall DiffRgn
00000AAE 4267 clr.w -[A7]
00000AB0 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000AB4 A8E2 syscall EmptyRgn
00000AB6 101F move.b D0, [A7]+
00000AB8 4A00 tst.b D0
00000ABA 661C bne +0x1E /* 00000AD8 */
00000ABC 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000AC0 A879 syscall SetClip
00000AC2 526A 0042 addq.w [A2 + 0x42], 1
00000AC6 2F0B move.l -[A7], A3
00000AC8 4EBA F7EC jsr [PC - 0x814 /* 000002B6 */]
00000ACC 588F addq.l A7, 4
00000ACE 536A 0042 subq.w [A2 + 0x42], 1
00000AD2 486A 0004 pea.l [A2 + 0x4]
00000AD6 A87B syscall ClipRect
label00000AD8:
00000AD8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00000ADC A8D9 syscall DisposRgn/DisposeRgn
00000ADE 9E46 sub.w D7, D6
00000AE0 3F2B 0032 move.w -[A7], [A3 + 0x32]
00000AE4 3F07 move.w -[A7], D7
00000AE6 A893 syscall MoveTo
label00000AE8:
00000AE8 4AAA 0026 tst.l [A2 + 0x26]
00000AEC 6700 0080 beq +0x82 /* 00000B6E */
00000AF0 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000AF4 A87A syscall GetClip
00000AF6 4267 clr.w -[A7]
00000AF8 2F2A 0026 move.l -[A7], [A2 + 0x26]
00000AFC A962 syscall GetControlMaximum/GetMaxCtl
00000AFE 301F move.w D0, [A7]+
00000B00 4A40 tst.w D0
00000B02 6714 beq +0x16 /* 00000B18 */
00000B04 42A7 clr.l -[A7]
00000B06 A8D8 syscall NewRgn
00000B08 205F movea.l A0, [A7]+
00000B0A 2D48 FFF8 move.l [A6 - 0x8], A0
00000B0E 4850 pea.l [A0]
00000B10 A879 syscall SetClip
00000B12 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00000B16 A8D9 syscall DisposRgn/DisposeRgn
label00000B18:
00000B18 302A 0008 move.w D0, [A2 + 0x8]
00000B1C 906A 0004 sub.w D0, [A2 + 0x4]
00000B20 48C0 ext.l D0
00000B22 81C6 divs.w D0, D6
00000B24 3A00 move.w D5, D0
00000B26 3540 003A move.w [A2 + 0x3A], D0
00000B2A 7800 moveq.l D4, 0x00
00000B2C 3045 movea.w A0, D5
00000B2E B1EA 0010 cmpa.l A0, [A2 + 0x10]
00000B32 6C0C bge +0xE /* 00000B40 */
00000B34 3045 movea.w A0, D5
00000B36 202A 0010 move.l D0, [A2 + 0x10]
00000B3A 9088 sub.l D0, A0
00000B3C 5280 addq.l D0, 1
00000B3E 3800 move.w D4, D0
label00000B40:
00000B40 2F2A 0026 move.l -[A7], [A2 + 0x26]
00000B44 3F04 move.w -[A7], D4
00000B46 A965 syscall SetControlMaximum/SetMaxCtl
00000B48 3005 move.w D0, D5
00000B4A C1C6 muls.w D0, D6
00000B4C D06A 0004 add.w D0, [A2 + 0x4]
00000B50 3540 0008 move.w [A2 + 0x8], D0
00000B54 2F2A 0026 move.l -[A7], [A2 + 0x26]
00000B58 3F04 move.w -[A7], D4
00000B5A A963 syscall SetControlValue/SetCtlValue
00000B5C 206A 0026 movea.l A0, [A2 + 0x26]
00000B60 2050 movea.l A0, [A0]
00000B62 4868 0008 pea.l [A0 + 0x8]
00000B66 A928 syscall InvalRect
00000B68 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000B6C A879 syscall SetClip
label00000B6E:
00000B6E 7000 moveq.l D0, 0x00
00000B70 1014 move.b D0, [A4]
00000B72 3F00 move.w -[A7], D0
00000B74 486C 0001 pea.l [A4 + 0x1]
00000B78 2F0B move.l -[A7], A3
00000B7A 4EBA FDC4 jsr [PC - 0x23C /* 00000940 */]
00000B7E 4FEF 000A lea.l A7, [A7 + 0xA]
00000B82 A856 syscall ObscureCursor
00000B84 3F3C 0002 move.w -[A7], 0x2
00000B88 4EBA 01E0 jsr [PC + 0x1E0 /* 00000D6A */]
00000B8C 486A 0004 pea.l [A2 + 0x4]
00000B90 A87B syscall ClipRect
00000B92 7000 moveq.l D0, 0x00
00000B94 1014 move.b D0, [A4]
00000B96 2F0C move.l -[A7], A4
00000B98 3F3C 0001 move.w -[A7], 0x1
00000B9C 5340 subq.w D0, 1
00000B9E 3F00 move.w -[A7], D0
00000BA0 A885 syscall DrawText
00000BA2 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000BA6 A8D9 syscall DisposRgn/DisposeRgn
00000BA8 7000 moveq.l D0, 0x00
00000BAA 1014 move.b D0, [A4]
00000BAC 4840 swap.w D0
00000BAE 4240 clr.w D0
00000BB0 4840 swap.w D0
00000BB2 D08C add.l D0, A4
00000BB4 2040 movea.l A0, D0
00000BB6 7000 moveq.l D0, 0x00
00000BB8 1010 move.b D0, [A0]
00000BBA 0C40 000D cmpi.w D0, 0xD /* '\r' */
00000BBE 660C bne +0xE /* 00000BCC */
00000BC0 DE46 add.w D7, D6
00000BC2 3F3C 0006 move.w -[A7], 0x6
00000BC6 3F07 move.w -[A7], D7
00000BC8 A893 syscall MoveTo
00000BCA 6016 bra +0x18 /* 00000BE2 */
label00000BCC:
00000BCC 7000 moveq.l D0, 0x00
00000BCE 1014 move.b D0, [A4]
00000BD0 4840 swap.w D0
00000BD2 4240 clr.w D0
00000BD4 4840 swap.w D0
00000BD6 D08C add.l D0, A4
00000BD8 2040 movea.l A0, D0
00000BDA 7000 moveq.l D0, 0x00
00000BDC 1010 move.b D0, [A0]
00000BDE 3F00 move.w -[A7], D0
00000BE0 A883 syscall DrawChar
label00000BE2:
00000BE2 256B 0030 0014 move.l [A2 + 0x14], [A3 + 0x30]
00000BE8 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
00000BEC A873 syscall SetPort
00000BEE 7000 moveq.l D0, 0x00
00000BF0 1014 move.b D0, [A4]
00000BF2 2D40 FFE8 move.l [A6 - 0x18], D0
00000BF6 206D EA02 movea.l A0, [A5 - 0x15FE]
00000BFA 3E28 000E move.w D7, [A0 + 0xE]
00000BFE 4A47 tst.w D7
00000C00 6712 beq +0x14 /* 00000C14 */
00000C02 4267 clr.w -[A7]
00000C04 3F07 move.w -[A7], D7
00000C06 486E FFE8 pea.l [A6 - 0x18]
00000C0A 486C 0001 pea.l [A4 + 0x1]
00000C0E 4EBA 0A9C jsr [PC + 0xA9C /* 000016AC */]
00000C12 301F move.w D0, [A7]+
label00000C14:
00000C14 206D EA02 movea.l A0, [A5 - 0x15FE]
00000C18 3E28 0010 move.w D7, [A0 + 0x10]
00000C1C 4A47 tst.w D7
00000C1E 6712 beq +0x14 /* 00000C32 */
00000C20 4267 clr.w -[A7]
00000C22 3F07 move.w -[A7], D7
00000C24 486E FFE8 pea.l [A6 - 0x18]
00000C28 486C 0001 pea.l [A4 + 0x1]
00000C2C 4EBA 0A7E jsr [PC + 0xA7E /* 000016AC */]
00000C30 301F move.w D0, [A7]+
label00000C32:
00000C32 4CDF 1CF0 movem.l D4,D5,D6,D7,A2,A3,A4, [A7]+
00000C36 4E5E unlink A6
00000C38 205F movea.l A0, [A7]+
00000C3A 4FEF 0008 lea.l A7, [A7 + 0x8]
00000C3E 4ED0 jmp [A0]
fn00000C40:
00000C40 4E56 0000 link A6, 0
00000C44 2F0C move.l -[A7], A4
00000C46 286E 0008 movea.l A4, [A6 + 0x8]
00000C4A 42AC 0010 clr.l [A4 + 0x10]
00000C4E 296C 004A 0014 move.l [A4 + 0x14], [A4 + 0x4A]
00000C54 302C 001A move.w D0, [A4 + 0x1A]
00000C58 D16C 0014 add.w [A4 + 0x14], D0
00000C5C 42AC 002E clr.l [A4 + 0x2E]
00000C60 42AC 002A clr.l [A4 + 0x2A]
00000C64 42AC 0036 clr.l [A4 + 0x36]
00000C68 42AC 0046 clr.l [A4 + 0x46]
00000C6C 426C 0040 clr.w [A4 + 0x40]
00000C70 426C 0042 clr.w [A4 + 0x42]
00000C74 422C 0044 clr.b [A4 + 0x44]
00000C78 486D EB40 pea.l [A5 - 0x14C0]
00000C7C A874 syscall GetPort
00000C7E 2F14 move.l -[A7], [A4]
00000C80 A873 syscall SetPort
00000C82 486C 0004 pea.l [A4 + 0x4]
00000C86 A8A3 syscall EraseRect
00000C88 302C 004A move.w D0, [A4 + 0x4A]
00000C8C D06C 001A add.w D0, [A4 + 0x1A]
00000C90 3F2C 004C move.w -[A7], [A4 + 0x4C]
00000C94 3F00 move.w -[A7], D0
00000C96 A893 syscall MoveTo
00000C98 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
00000C9C A873 syscall SetPort
00000C9E 285F movea.l A4, [A7]+
00000CA0 4E5E unlink A6
00000CA2 4E75 rts
export_10:
fn00000CA4:
00000CA4 4E56 0000 link A6, 0
00000CA8 206E 0008 movea.l A0, [A6 + 0x8]
00000CAC 2068 0026 movea.l A0, [A0 + 0x26]
00000CB0 2F28 0098 move.l -[A7], [A0 + 0x98]
00000CB4 4EBA FF8A jsr [PC - 0x76 /* 00000C40 */]
00000CB8 588F addq.l A7, 4
00000CBA 4E5E unlink A6
00000CBC 4E75 rts
fn00000CBE:
00000CBE 4E56 FFF8 link A6, -0x0008
00000CC2 48E7 0118 movem.l -[A7], D7,A3,A4
00000CC6 206E 0008 movea.l A0, [A6 + 0x8]
00000CCA 2868 0026 movea.l A4, [A0 + 0x26]
00000CCE 266C 0098 movea.l A3, [A4 + 0x98]
00000CD2 3F3C 0002 move.w -[A7], 0x2
00000CD6 4EBA 0092 jsr [PC + 0x92 /* 00000D6A */]
00000CDA 4AAB 002E tst.l [A3 + 0x2E]
00000CDE 6608 bne +0xA /* 00000CE8 */
00000CE0 276B 0032 002E move.l [A3 + 0x2E], [A3 + 0x32]
00000CE6 6004 bra +0x6 /* 00000CEC */
label00000CE8:
00000CE8 53AB 002E subq.l [A3 + 0x2E], 1
label00000CEC:
00000CEC 206B 000C movea.l A0, [A3 + 0xC]
00000CF0 2010 move.l D0, [A0]
00000CF2 D0AB 002E add.l D0, [A3 + 0x2E]
00000CF6 2040 movea.l A0, D0
00000CF8 1E10 move.b D7, [A0]
00000CFA 4267 clr.w -[A7]
00000CFC 1007 move.b D0, D7
00000CFE 4880 ext.w D0
00000D00 3F00 move.w -[A7], D0
00000D02 A88D syscall CharWidth
00000D04 301F move.w D0, [A7]+
00000D06 916B 0016 sub.w [A3 + 0x16], D0
00000D0A 302B 0016 move.w D0, [A3 + 0x16]
00000D0E 3940 0032 move.w [A4 + 0x32], D0
00000D12 3D40 FFFA move.w [A6 - 0x6], D0
00000D16 4267 clr.w -[A7]
00000D18 1007 move.b D0, D7
00000D1A 4880 ext.w D0
00000D1C 3F00 move.w -[A7], D0
00000D1E A88D syscall CharWidth
00000D20 301F move.w D0, [A7]+
00000D22 D06E FFFA add.w D0, [A6 - 0x6]
00000D26 3D40 FFFE move.w [A6 - 0x2], D0
00000D2A 302B 0014 move.w D0, [A3 + 0x14]
00000D2E D06B 001C add.w D0, [A3 + 0x1C]
00000D32 D06B 0020 add.w D0, [A3 + 0x20]
00000D36 3D40 FFFC move.w [A6 - 0x4], D0
00000D3A 302B 0014 move.w D0, [A3 + 0x14]
00000D3E 906B 001A sub.w D0, [A3 + 0x1A]
00000D42 3D40 FFF8 move.w [A6 - 0x8], D0
00000D46 486D EB40 pea.l [A5 - 0x14C0]
00000D4A A874 syscall GetPort
00000D4C 2F0C move.l -[A7], A4
00000D4E A873 syscall SetPort
00000D50 486E FFF8 pea.l [A6 - 0x8]
00000D54 A8A3 syscall EraseRect
00000D56 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
00000D5A A873 syscall SetPort
00000D5C 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000D60 4E5E unlink A6
00000D62 205F movea.l A0, [A7]+
00000D64 4FEF 0004 lea.l A7, [A7 + 0x4]
00000D68 4ED0 jmp [A0]
fn00000D6A:
00000D6A 4E56 FFF8 link A6, -0x0008
00000D6E 48E7 0018 movem.l -[A7], A3,A4
00000D72 2878 09D6 movea.l A4, [0x000009D6 /* WindowList */]
00000D76 200C move.l D0, A4
00000D78 6700 0098 beq +0x9A /* 00000E12 */
00000D7C 0C6C 7FFE 006C cmpi.w [A4 + 0x6C], 0x7FFE
00000D82 6600 008E bne +0x90 /* 00000E12 */
00000D86 266C 0098 movea.l A3, [A4 + 0x98]
00000D8A 302E 0008 move.w D0, [A6 + 0x8]
00000D8E 4EBA 014A jsr [PC + 0x14A /* 00000EDA */]
00000D92 0000 0002 ori.b D0, 0x2
00000D96 0026 0006 ori.b -[A6], 0x6
00000D9A 0014 001A ori.b [A4], 0x1A
00000D9E 2038 016A move.l D0, [0x0000016A /* Ticks */]
00000DA2 90AB 0036 sub.l D0, [A3 + 0x36]
00000DA6 B0B8 02F4 cmp.l D0, [0x000002F4 /* CaretTime */]
00000DAA 6F66 ble +0x68 /* 00000E12 */
00000DAC 600E bra +0x10 /* 00000DBC */
00000DAE 4A2B 0044 tst.b [A3 + 0x44]
00000DB2 665E bne +0x60 /* 00000E12 */
00000DB4 6006 bra +0x8 /* 00000DBC */
00000DB6 4A2B 0044 tst.b [A3 + 0x44]
00000DBA 6756 beq +0x58 /* 00000E12 */
label00000DBC:
00000DBC 4A2B 0044 tst.b [A3 + 0x44]
00000DC0 57C0 seq D0
00000DC2 4400 neg.b D0
00000DC4 4880 ext.w D0
00000DC6 1740 0044 move.b [A3 + 0x44], D0
00000DCA 2778 016A 0036 move.l [A3 + 0x36], [0x0000016A /* Ticks */]
00000DD0 3D6B 0016 FFFE move.w [A6 - 0x2], [A3 + 0x16]
00000DD6 302E FFFE move.w D0, [A6 - 0x2]
00000DDA 5340 subq.w D0, 1
00000DDC 3D40 FFFA move.w [A6 - 0x6], D0
00000DE0 302B 0014 move.w D0, [A3 + 0x14]
00000DE4 D06B 001C add.w D0, [A3 + 0x1C]
00000DE8 D06B 0020 add.w D0, [A3 + 0x20]
00000DEC 3D40 FFFC move.w [A6 - 0x4], D0
00000DF0 302B 0014 move.w D0, [A3 + 0x14]
00000DF4 906B 001A sub.w D0, [A3 + 0x1A]
00000DF8 3D40 FFF8 move.w [A6 - 0x8], D0
00000DFC 486D EB40 pea.l [A5 - 0x14C0]
00000E00 A874 syscall GetPort
00000E02 2F0C move.l -[A7], A4
00000E04 A873 syscall SetPort
00000E06 486E FFF8 pea.l [A6 - 0x8]
00000E0A A8A4 syscall InvertRect
00000E0C 2F2D EB40 move.l -[A7], [A5 - 0x14C0]
00000E10 A873 syscall SetPort
label00000E12:
00000E12 4CDF 1800 movem.l A3,A4, [A7]+
00000E16 4E5E unlink A6
00000E18 205F movea.l A0, [A7]+
00000E1A 4FEF 0002 lea.l A7, [A7 + 0x2]
00000E1E 4ED0 jmp [A0]
export_11:
00000E20 48E7 E0C0 movem.l -[A7], D0,D1,D2,A0,A1
00000E24 226F 0018 movea.l A1, [A7 + 0x18]
00000E28 206F 001C movea.l A0, [A7 + 0x1C]
00000E2C 2F6F 0014 001C move.l [A7 + 0x1C], [A7 + 0x14]
00000E32 7000 moveq.l D0, 0x00
00000E34 1018 move.b D0, [A0]+
00000E36 3400 move.w D2, D0
00000E38 1219 move.b D1, [A1]+
00000E3A B200 cmp.b D1, D0
00000E3C 6402 bcc +0x4 /* 00000E40 */
00000E3E 1401 move.b D2, D1
label00000E40:
00000E40 5342 subq.w D2, 1
00000E42 6D08 blt +0xA /* 00000E4C */
label00000E44:
00000E44 B308 cmpm.b [A1]+, [A0]+
00000E46 56CA FFFC dbne D2, -0x6 /* 00000E44 */
00000E4A 6602 bne +0x4 /* 00000E4E */
label00000E4C:
00000E4C B200 cmp.b D1, D0
label00000E4E:
00000E4E 4CDF 0307 movem.l D0,D1,D2,A0,A1, [A7]+
00000E52 508F addq.l A7, 8
00000E54 4E75 rts
00000E56 202F 0004 move.l D0, [A7 + 0x4]
00000E5A 2F41 0004 move.l [A7 + 0x4], D1
00000E5E 222F 0008 move.l D1, [A7 + 0x8]
00000E62 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000E66 48E7 3100 movem.l -[A7], D2,D3,D7
00000E6A 4EBA 0606 jsr [PC + 0x606 /* 00001472 */]
00000E6E 4CDF 008C movem.l D2,D3,D7, [A7]+
00000E72 221F move.l D1, [A7]+
00000E74 4E75 rts
00000E76 202F 0004 move.l D0, [A7 + 0x4]
00000E7A 2F41 0004 move.l [A7 + 0x4], D1
00000E7E 222F 0008 move.l D1, [A7 + 0x8]
00000E82 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000E86 48E7 3100 movem.l -[A7], D2,D3,D7
00000E8A 4EBA 05E6 jsr [PC + 0x5E6 /* 00001472 */]
00000E8E 2001 move.l D0, D1
00000E90 4CDF 008C movem.l D2,D3,D7, [A7]+
00000E94 221F move.l D1, [A7]+
00000E96 4E75 rts
fn00000E98:
00000E98 202F 0004 move.l D0, [A7 + 0x4]
00000E9C 2F41 0004 move.l [A7 + 0x4], D1
00000EA0 222F 0008 move.l D1, [A7 + 0x8]
00000EA4 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000EA8 48E7 3100 movem.l -[A7], D2,D3,D7
00000EAC 4EBA 0596 jsr [PC + 0x596 /* 00001444 */]
00000EB0 4CDF 008C movem.l D2,D3,D7, [A7]+
00000EB4 221F move.l D1, [A7]+
00000EB6 4E75 rts
00000EB8 202F 0004 move.l D0, [A7 + 0x4]
00000EBC 2F41 0004 move.l [A7 + 0x4], D1
00000EC0 222F 0008 move.l D1, [A7 + 0x8]
00000EC4 2F5F 0004 move.l [A7 + 0x4], [A7]+
00000EC8 48E7 3100 movem.l -[A7], D2,D3,D7
00000ECC 4EBA 0576 jsr [PC + 0x576 /* 00001444 */]
00000ED0 2001 move.l D0, D1
00000ED2 4CDF 008C movem.l D2,D3,D7, [A7]+
00000ED6 221F move.l D1, [A7]+
00000ED8 4E75 rts
fn00000EDA:
00000EDA 205F movea.l A0, [A7]+
00000EDC 3218 move.w D1, [A0]+
00000EDE 3418 move.w D2, [A0]+
00000EE0 B042 cmp.w D0, D2
00000EE2 6E0A bgt +0xC /* 00000EEE */
00000EE4 9041 sub.w D0, D1
00000EE6 6D06 blt +0x8 /* 00000EEE */
00000EE8 D040 add.w D0, D0
00000EEA 41F0 0002 lea.l A0, [A0 + D0.w + 0x2]
label00000EEE:
00000EEE 3010 move.w D0, [A0]
label00000EF0:
00000EF0 67FE beq -0x0 /* 00000EF0 */
00000EF2 4EF0 0000 jmp [A0 + D0.w]
fn00000EF6:
00000EF6 42AD EB50 clr.l [A5 - 0x14B0]
00000EFA 7001 moveq.l D0, 0x01
00000EFC 1B40 EB54 move.b [A5 - 0x14AC], D0
00000F00 422D EB55 clr.b [A5 - 0x14AB]
00000F04 700D moveq.l D0, 0x0D
00000F06 1B40 EB5A move.b [A5 - 0x14A6], D0
00000F0A 7001 moveq.l D0, 0x01
00000F0C 3B40 EB4E move.w [A5 - 0x14B2], D0
00000F10 7001 moveq.l D0, 0x01
00000F12 1B40 EB59 move.b [A5 - 0x14A7], D0
00000F16 422D EB56 clr.b [A5 - 0x14AA]
00000F1A 422D EB57 clr.b [A5 - 0x14A9]
00000F1E 422D EB58 clr.b [A5 - 0x14A8]
00000F22 422D EB5B clr.b [A5 - 0x14A5]
00000F26 7001 moveq.l D0, 0x01
00000F28 3B40 EB48 move.w [A5 - 0x14B8], D0
00000F2C 42AD EB62 clr.l [A5 - 0x149E]
00000F30 41ED 00B2 lea.l A0, [A5 + 0xB2 /* export_18 */]
00000F34 2B48 EB5E move.l [A5 - 0x14A2], A0
00000F38 41ED 0072 lea.l A0, [A5 + 0x72 /* export_10 */]
00000F3C 2B48 EB66 move.l [A5 - 0x149A], A0
00000F40 42A7 clr.l -[A7]
00000F42 4EBA F8E0 jsr [PC - 0x720 /* 00000824 */]
00000F46 205F movea.l A0, [A7]+
00000F48 2B48 EB6A move.l [A5 - 0x1496], A0
00000F4C 486D EB44 pea.l [A5 - 0x14BC]
00000F50 4EBA 0124 jsr [PC + 0x124 /* 00001076 */]
00000F54 205F movea.l A0, [A7]+
00000F56 4ED0 jmp [A0]
fn00000F58:
00000F58 42AD EB8C clr.l [A5 - 0x1474]
00000F5C 422D EB90 clr.b [A5 - 0x1470]
00000F60 7001 moveq.l D0, 0x01
00000F62 1B40 EB91 move.b [A5 - 0x146F], D0
00000F66 700D moveq.l D0, 0x0D
00000F68 1B40 EB96 move.b [A5 - 0x146A], D0
00000F6C 7001 moveq.l D0, 0x01
00000F6E 3B40 EB8A move.w [A5 - 0x1476], D0
00000F72 7001 moveq.l D0, 0x01
00000F74 1B40 EB95 move.b [A5 - 0x146B], D0
00000F78 422D EB97 clr.b [A5 - 0x1469]
00000F7C 7002 moveq.l D0, 0x02
00000F7E 3B40 EB84 move.w [A5 - 0x147C], D0
00000F82 41ED 00D2 lea.l A0, [A5 + 0xD2 /* export_22 */]
00000F86 2B48 EB9E move.l [A5 - 0x1462], A0
00000F8A 42AD EB9A clr.l [A5 - 0x1466]
00000F8E 41ED 0072 lea.l A0, [A5 + 0x72 /* export_10 */]
00000F92 2B48 EBA2 move.l [A5 - 0x145E], A0
00000F96 42A7 clr.l -[A7]
00000F98 4EBA F88A jsr [PC - 0x776 /* 00000824 */]
00000F9C 205F movea.l A0, [A7]+
00000F9E 2B48 EBA6 move.l [A5 - 0x145A], A0
00000FA2 486D EB80 pea.l [A5 - 0x1480]
00000FA6 4EBA 00CE jsr [PC + 0xCE /* 00001076 */]
00000FAA 205F movea.l A0, [A7]+
00000FAC 4ED0 jmp [A0]
export_12:
00000FAE 2F01 move.l -[A7], D1
00000FB0 222F 0008 move.l D1, [A7 + 0x8]
00000FB4 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00000FBA 2F40 0004 move.l [A7 + 0x4], D0
00000FBE 202F 000C move.l D0, [A7 + 0xC]
00000FC2 48E7 3100 movem.l -[A7], D2,D3,D7
00000FC6 4EBA 047C jsr [PC + 0x47C /* 00001444 */]
00000FCA 4CDF 008C movem.l D2,D3,D7, [A7]+
00000FCE 2F40 000C move.l [A7 + 0xC], D0
00000FD2 221F move.l D1, [A7]+
00000FD4 201F move.l D0, [A7]+
00000FD6 4E75 rts
export_13:
00000FD8 2F01 move.l -[A7], D1
00000FDA 222F 0008 move.l D1, [A7 + 0x8]
00000FDE 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00000FE4 2F40 0004 move.l [A7 + 0x4], D0
00000FE8 202F 000C move.l D0, [A7 + 0xC]
00000FEC 2F41 000C move.l [A7 + 0xC], D1
00000FF0 48E7 3100 movem.l -[A7], D2,D3,D7
00000FF4 4EBA 044E jsr [PC + 0x44E /* 00001444 */]
00000FF8 4CDF 008C movem.l D2,D3,D7, [A7]+
00000FFC 2001 move.l D0, D1
00000FFE 2F40 000C move.l [A7 + 0xC], D0
00001002 221F move.l D1, [A7]+
00001004 201F move.l D0, [A7]+
00001006 4E75 rts
export_14:
00001008 2F01 move.l -[A7], D1
0000100A 222F 0008 move.l D1, [A7 + 0x8]
0000100E 2F6F 0004 0008 move.l [A7 + 0x8], [A7 + 0x4]
00001014 2F40 0004 move.l [A7 + 0x4], D0
00001018 202F 000C move.l D0, [A7 + 0xC]
0000101C 48E7 3C00 movem.l -[A7], D2,D3,D4,D5
00001020 2400 move.l D2, D0
00001022 2601 move.l D3, D1
00001024 4842 swap.w D2
00001026 C4C3 mulu.w D2, D3
00001028 2800 move.l D4, D0
0000102A 2A01 move.l D5, D1
0000102C 4845 swap.w D5
0000102E C8C5 mulu.w D4, D5
00001030 D444 add.w D2, D4
00001032 4842 swap.w D2
00001034 4242 clr.w D2
00001036 C0C1 mulu.w D0, D1
00001038 D082 add.l D0, D2
0000103A 4CDF 003C movem.l D2,D3,D4,D5, [A7]+
0000103E 2F40 000C move.l [A7 + 0xC], D0
00001042 221F move.l D1, [A7]+
00001044 201F move.l D0, [A7]+
00001046 4E75 rts
export_15:
fn00001048:
00001048 2F0A move.l -[A7], A2
0000104A 226F 0008 movea.l A1, [A7 + 0x8]
0000104E 246F 000C movea.l A2, [A7 + 0xC]
00001052 302F 0010 move.w D0, [A7 + 0x10]
00001056 3400 move.w D2, D0
00001058 121A move.b D1, [A2]+
0000105A B202 cmp.b D1, D2
0000105C 6402 bcc +0x4 /* 00001060 */
0000105E 1401 move.b D2, D1
label00001060:
00001060 12C2 move.b [A1]+, D2
00001062 6002 bra +0x4 /* 00001066 */
label00001064:
00001064 12DA move.b [A1]+, [A2]+
label00001066:
00001066 51CA FFFC dbf D2, -0x6 /* 00001064 */
0000106A B001 cmp.b D0, D1
0000106C 245F movea.l A2, [A7]+
0000106E 205F movea.l A0, [A7]+
00001070 4FEF 000A lea.l A7, [A7 + 0xA]
00001074 4ED0 jmp [A0]
fn00001076:
00001076 4E56 0000 link A6, 0
0000107A 2F0C move.l -[A7], A4
0000107C 286E 0008 movea.l A4, [A6 + 0x8]
00001080 28AD ECC8 move.l [A4], [A5 - 0x1338]
00001084 2B4C ECC8 move.l [A5 - 0x1338], A4
00001088 285F movea.l A4, [A7]+
0000108A 4E5E unlink A6
0000108C 205F movea.l A0, [A7]+
0000108E 4FEF 0004 lea.l A7, [A7 + 0x4]
00001092 4ED0 jmp [A0]
fn00001094:
00001094 4E56 0000 link A6, 0
00001098 7007 moveq.l D0, 0x07
0000109A 1B40 EBBC move.b [A5 - 0x1444], D0
0000109E 704C moveq.l D0, 0x4C
000010A0 1B40 EBBD move.b [A5 - 0x1443], D0
000010A4 7053 moveq.l D0, 0x53
000010A6 1B40 EBBE move.b [A5 - 0x1442], D0
000010AA 7050 moveq.l D0, 0x50
000010AC 1B40 EBBF move.b [A5 - 0x1441], D0
000010B0 7044 moveq.l D0, 0x44
000010B2 1B40 EBC0 move.b [A5 - 0x1440], D0
000010B6 7046 moveq.l D0, 0x46
000010B8 1B40 EBC1 move.b [A5 - 0x143F], D0
000010BC 306E 0008 movea.w A0, [A6 + 0x8]
000010C0 2008 move.l D0, A0
000010C2 81FC 000A divs.w D0, 0xA /* '\n' */
000010C6 0640 0030 addi.w D0, 0x30 /* '0' */
000010CA 1B40 EBC2 move.b [A5 - 0x143E], D0
000010CE 306E 0008 movea.w A0, [A6 + 0x8]
000010D2 2008 move.l D0, A0
000010D4 81FC 000A divs.w D0, 0xA /* '\n' */
000010D8 4840 swap.w D0
000010DA 0640 0030 addi.w D0, 0x30 /* '0' */
000010DE 1B40 EBC3 move.b [A5 - 0x143D], D0
000010E2 41ED EBBC lea.l A0, [A5 - 0x1444]
000010E6 2008 move.l D0, A0
000010E8 4E5E unlink A6
000010EA 205F movea.l A0, [A7]+
000010EC 4FEF 0002 lea.l A7, [A7 + 0x2]
000010F0 2E80 move.l [A7], D0
000010F2 4ED0 jmp [A0]
fn000010F4:
000010F4 4E56 0000 link A6, 0
000010F8 48E7 0108 movem.l -[A7], D7,A4
000010FC 286E 0008 movea.l A4, [A6 + 0x8]
00001100 4A6C 0004 tst.w [A4 + 0x4]
00001104 6704 beq +0x6 /* 0000110A */
00001106 7000 moveq.l D0, 0x00
00001108 6046 bra +0x48 /* 00001150 */
label0000110A:
0000110A 3B6C 0006 ECF8 move.w [A5 - 0x1308], [A4 + 0x6]
00001110 4267 clr.w -[A7]
00001112 486D ECE0 pea.l [A5 - 0x1320]
00001116 4267 clr.w -[A7]
00001118 4EBA 04F2 jsr [PC + 0x4F2 /* 0000160C */]
0000111C 301F move.w D0, [A7]+
0000111E 3E00 move.w D7, D0
00001120 4A47 tst.w D7
00001122 662A bne +0x2C /* 0000114E */
00001124 4A2C 0017 tst.b [A4 + 0x17]
00001128 6724 beq +0x26 /* 0000114E */
0000112A 42A7 clr.l -[A7]
0000112C 3F2C 0018 move.w -[A7], [A4 + 0x18]
00001130 4EBA FF62 jsr [PC - 0x9E /* 00001094 */]
00001134 205F movea.l A0, [A7]+
00001136 2B48 ECF2 move.l [A5 - 0x130E], A0
0000113A 426D ECF6 clr.w [A5 - 0x130A]
0000113E 4267 clr.w -[A7]
00001140 486D ECE0 pea.l [A5 - 0x1320]
00001144 4267 clr.w -[A7]
00001146 4EBA 04FA jsr [PC + 0x4FA /* 00001642 */]
0000114A 301F move.w D0, [A7]+
0000114C 3E00 move.w D7, D0
label0000114E:
0000114E 3007 move.w D0, D7
label00001150:
00001150 4CDF 1080 movem.l D7,A4, [A7]+
00001154 4E5E unlink A6
00001156 205F movea.l A0, [A7]+
00001158 4FEF 0004 lea.l A7, [A7 + 0x4]
0000115C 3E80 move.w [A7], D0
0000115E 4ED0 jmp [A0]
00001160 588F addq.l A7, 4
00001162 301F move.w D0, [A7]+
00001164 4267 clr.w -[A7]
00001166 3F00 move.w -[A7], D0
00001168 202D EA0E move.l D0, [A5 - 0x15F2]
0000116C 671A beq +0x1C /* 00001188 */
0000116E 2040 movea.l A0, D0
00001170 202D EA12 move.l D0, [A5 - 0x15EE]
00001174 6702 beq +0x4 /* 00001178 */
00001176 2F00 move.l -[A7], D0
label00001178:
00001178 4E90 jsr [A0]
0000117A 4A57 tst.w [A7]
0000117C 660A bne +0xC /* 00001188 */
0000117E 4CED DDF8 EA16 movem.l D3,D4,D5,D6,D7,A0,A2,A3,A4,A6,A7, [A5 - 0x15EA]
00001184 4ED0 jmp [A0]
export_16:
00001186 3F00 move.w -[A7], D0
label00001188:
00001188 303C 07D1 move.w D0, 0x7D1
0000118C 4EBA 0208 jsr [PC + 0x208 /* 00001396 */]
00001190 660A bne +0xC /* 0000119C */
00001192 303C 07D2 move.w D0, 0x7D2
00001196 4EBA 01FE jsr [PC + 0x1FE /* 00001396 */]
0000119A 6708 beq +0xA /* 000011A4 */
label0000119C:
0000119C 2050 movea.l A0, [A0]
0000119E 4E90 jsr [A0]
000011A0 4EFA EEE4 jmp [PC - 0x111C /* 00000086 */]
label000011A4:
000011A4 487A 0006 pea.l [PC + 0x6 /* 000011AC, value 0xD52554E '\rRUN', pstring "RUNTIME ERROR" */]
000011A8 ABFF syscall DebugStr
000011AA A9F4 syscall ExitToShell
000011AC 0D52 bchg [A2], D6
000011AE 554E subq.w A6, 2
000011B0 5449 addq.w A1, 2
000011B2 4D45 chk.w D6, D5
000011B4 2045 movea.l A0, D5
000011B6 5252 addq.w [A2], 1
000011B8 4F52 chk.w D7, [A2]
export_17:
000011BA 2F0C move.l -[A7], A4
000011BC 286D ECC8 movea.l A4, [A5 - 0x1338]
000011C0 600C bra +0xE /* 000011CE */
label000011C2:
000011C2 4267 clr.w -[A7]
000011C4 2F0C move.l -[A7], A4
000011C6 4EBA FF2C jsr [PC - 0xD4 /* 000010F4 */]
000011CA 301F move.w D0, [A7]+
000011CC 2854 movea.l A4, [A4]
label000011CE:
000011CE 200C move.l D0, A4
000011D0 66F0 bne -0xE /* 000011C2 */
000011D2 285F movea.l A4, [A7]+
000011D4 205F movea.l A0, [A7]+
000011D6 4ED0 jmp [A0]
export_18:
000011D8 4E56 FFEA link A6, -0x0016
000011DC 48E7 0108 movem.l -[A7], D7,A4
000011E0 286E 0008 movea.l A4, [A6 + 0x8]
000011E4 4EBA 0252 jsr [PC + 0x252 /* 00001438 */]
000011E8 0C40 0002 cmpi.w D0, 0x2
000011EC 6708 beq +0xA /* 000011F6 */
000011EE 303C 001E move.w D0, 0x1E
000011F2 4EED 00A2 jmp [A5 + 0xA2 /* export_16 */]
label000011F6:
000011F6 4A2C 0012 tst.b [A4 + 0x12]
000011FA 6600 0192 bne +0x194 /* 0000138E */
000011FE 486E FFEA pea.l [A6 - 0x16]
00001202 A874 syscall GetPort
00001204 4EBA F084 jsr [PC - 0xF7C /* 0000028A */]
00001208 7000 moveq.l D0, 0x00
0000120A 102C 0016 move.b D0, [A4 + 0x16]
0000120E 0C40 000D cmpi.w D0, 0xD /* '\r' */
00001212 6600 0140 bne +0x142 /* 00001354 */
00001216 41ED EBC4 lea.l A0, [A5 - 0x143C]
0000121A 2B48 ECC4 move.l [A5 - 0x133C], A0
0000121E 3F3C 0001 move.w -[A7], 0x1
00001222 4EBA FB46 jsr [PC - 0x4BA /* 00000D6A */]
label00001226:
00001226 4267 clr.w -[A7]
00001228 4EBA FB40 jsr [PC - 0x4C0 /* 00000D6A */]
0000122C 4A2D EA49 tst.b [A5 - 0x15B7]
00001230 672E beq +0x30 /* 00001260 */
00001232 4EBA 020A jsr [PC + 0x20A /* 0000143E */]
00001236 4A00 tst.b D0
00001238 6726 beq +0x28 /* 00001260 */
0000123A 7001 moveq.l D0, 0x01
0000123C 1D40 FFEE move.b [A6 - 0x12], D0
00001240 700D moveq.l D0, 0x0D
00001242 1D40 FFEF move.b [A6 - 0x11], D0
00001246 2F0C move.l -[A7], A4
00001248 486E FFEE pea.l [A6 - 0x12]
0000124C 4EBA F7C2 jsr [PC - 0x83E /* 00000A10 */]
00001250 3F3C 0002 move.w -[A7], 0x2
00001254 4EBA FB14 jsr [PC - 0x4EC /* 00000D6A */]
00001258 303C 0007 move.w D0, 0x7
0000125C 4EED 00A2 jmp [A5 + 0xA2 /* export_16 */]
label00001260:
00001260 4267 clr.w -[A7]
00001262 3F3C FFFF move.w -[A7], 0xFFFF
00001266 486E FFF0 pea.l [A6 - 0x10]
0000126A A970 syscall GetNextEvent
0000126C 101F move.b D0, [A7]+
0000126E 4A00 tst.b D0
00001270 67B4 beq -0x4A /* 00001226 */
00001272 0C6E 0003 FFF0 cmpi.w [A6 - 0x10], 0x3
00001278 6708 beq +0xA /* 00001282 */
0000127A 0C6E 0005 FFF0 cmpi.w [A6 - 0x10], 0x5
00001280 66A4 bne -0x5A /* 00001226 */
label00001282:
00001282 7001 moveq.l D0, 0x01
00001284 1D40 FFEE move.b [A6 - 0x12], D0
00001288 1E2E FFF5 move.b D7, [A6 - 0xB]
0000128C 1D47 FFEF move.b [A6 - 0x11], D7
00001290 7000 moveq.l D0, 0x00
00001292 1007 move.b D0, D7
00001294 0C40 0003 cmpi.w D0, 0x3
00001298 6634 bne +0x36 /* 000012CE */
0000129A 41ED EBC4 lea.l A0, [A5 - 0x143C]
0000129E B1ED ECC4 cmpa.l A0, [A5 - 0x133C]
000012A2 6618 bne +0x1A /* 000012BC */
000012A4 7001 moveq.l D0, 0x01
000012A6 1940 0012 move.b [A4 + 0x12], D0
000012AA 3F3C 0002 move.w -[A7], 0x2
000012AE 4EBA FABA jsr [PC - 0x546 /* 00000D6A */]
000012B2 2F2E FFEA move.l -[A7], [A6 - 0x16]
000012B6 A873 syscall SetPort
000012B8 6000 00D4 bra +0xD6 /* 0000138E */
label000012BC:
000012BC 4267 clr.w -[A7]
000012BE 3F3C 0003 move.w -[A7], 0x3
000012C2 4878 0003 push.l 0x3
000012C6 4EBA 0510 jsr [PC + 0x510 /* 000017D8 */]
000012CA 301F move.w D0, [A7]+
000012CC 6036 bra +0x38 /* 00001304 */
label000012CE:
000012CE 7000 moveq.l D0, 0x00
000012D0 1007 move.b D0, D7
000012D2 0C40 0008 cmpi.w D0, 0x8
000012D6 6622 bne +0x24 /* 000012FA */
000012D8 41ED EBC4 lea.l A0, [A5 - 0x143C]
000012DC B1ED ECC4 cmpa.l A0, [A5 - 0x133C]
000012E0 640E bcc +0x10 /* 000012F0 */
000012E2 53AD ECC4 subq.l [A5 - 0x133C], 1
000012E6 2F0C move.l -[A7], A4
000012E8 4EBA F9D4 jsr [PC - 0x62C /* 00000CBE */]
000012EC 6000 FF38 bra -0xC6 /* 00001226 */
label000012F0:
000012F0 3F3C 0005 move.w -[A7], 0x5
000012F4 A9C8 syscall SysBeep
000012F6 6000 FF2E bra -0xD0 /* 00001226 */
label000012FA:
000012FA 7000 moveq.l D0, 0x00
000012FC 1007 move.b D0, D7
000012FE 0C40 000D cmpi.w D0, 0xD /* '\r' */
00001302 661C bne +0x1E /* 00001320 */
label00001304:
00001304 206D ECC4 movea.l A0, [A5 - 0x133C]
00001308 52AD ECC4 addq.l [A5 - 0x133C], 1
0000130C 700D moveq.l D0, 0x0D
0000130E 1D40 FFEF move.b [A6 - 0x11], D0
00001312 1080 move.b [A0], D0
00001314 2F0C move.l -[A7], A4
00001316 486E FFEE pea.l [A6 - 0x12]
0000131A 4EBA F6F4 jsr [PC - 0x90C /* 00000A10 */]
0000131E 6024 bra +0x26 /* 00001344 */
label00001320:
00001320 41ED ECC3 lea.l A0, [A5 - 0x133D]
00001324 B1ED ECC4 cmpa.l A0, [A5 - 0x133C]
00001328 6300 FEFC bls -0x102 /* 00001226 */
0000132C 206D ECC4 movea.l A0, [A5 - 0x133C]
00001330 52AD ECC4 addq.l [A5 - 0x133C], 1
00001334 1087 move.b [A0], D7
00001336 2F0C move.l -[A7], A4
00001338 486E FFEE pea.l [A6 - 0x12]
0000133C 4EBA F6D2 jsr [PC - 0x92E /* 00000A10 */]
00001340 6000 FEE4 bra -0x11A /* 00001226 */
label00001344:
00001344 41ED EBC4 lea.l A0, [A5 - 0x143C]
00001348 2B48 ECC4 move.l [A5 - 0x133C], A0
0000134C 3F3C 0002 move.w -[A7], 0x2
00001350 4EBA FA18 jsr [PC - 0x5E8 /* 00000D6A */]
label00001354:
00001354 206D ECC4 movea.l A0, [A5 - 0x133C]
00001358 52AD ECC4 addq.l [A5 - 0x133C], 1
0000135C 1010 move.b D0, [A0]
0000135E 1940 003A move.b [A4 + 0x3A], D0
00001362 1940 0016 move.b [A4 + 0x16], D0
00001366 0240 00FF andi.w D0, 0xFF
0000136A 0C40 000D cmpi.w D0, 0xD /* '\r' */
0000136E 660E bne +0x10 /* 0000137E */
00001370 7001 moveq.l D0, 0x01
00001372 1940 0014 move.b [A4 + 0x14], D0
00001376 7020 moveq.l D0, 0x20
00001378 1940 003A move.b [A4 + 0x3A], D0
0000137C 6004 bra +0x6 /* 00001382 */
label0000137E:
0000137E 422C 0014 clr.b [A4 + 0x14]
label00001382:
00001382 7001 moveq.l D0, 0x01
00001384 1940 0013 move.b [A4 + 0x13], D0
00001388 2F2E FFEA move.l -[A7], [A6 - 0x16]
0000138C A873 syscall SetPort
label0000138E:
0000138E 4CDF 1080 movem.l D7,A4, [A7]+
00001392 4E5E unlink A6
00001394 4E75 rts
fn00001396:
00001396 598F subq.l A7, 4
00001398 2F3C 4C53 5020 move.l -[A7], 0x4C535020 /* 'LSP ' */
0000139E 3F00 move.w -[A7], D0
000013A0 A9A0 syscall GetResource
000013A2 205F movea.l A0, [A7]+
000013A4 2008 move.l D0, A0
000013A6 4E75 rts
export_19:
000013A8 48E7 0308 movem.l -[A7], D6,D7,A4
000013AC 41ED ECC8 lea.l A0, [A5 - 0x1338]
000013B0 2848 movea.l A4, A0
000013B2 2E0F move.l D7, A7
000013B4 2C2E FFFC move.l D6, [A6 - 0x4]
000013B8 601A bra +0x1C /* 000013D4 */
label000013BA:
000013BA BE94 cmp.l D7, [A4]
000013BC 6C14 bge +0x16 /* 000013D2 */
000013BE BC94 cmp.l D6, [A4]
000013C0 6F10 ble +0x12 /* 000013D2 */
000013C2 4267 clr.w -[A7]
000013C4 2F14 move.l -[A7], [A4]
000013C6 4EBA FD2C jsr [PC - 0x2D4 /* 000010F4 */]
000013CA 301F move.w D0, [A7]+
000013CC 2054 movea.l A0, [A4]
000013CE 2890 move.l [A4], [A0]
000013D0 6002 bra +0x4 /* 000013D4 */
label000013D2:
000013D2 2854 movea.l A4, [A4]
label000013D4:
000013D4 4A94 tst.l [A4]
000013D6 66E2 bne -0x1C /* 000013BA */
000013D8 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000013DC 205F movea.l A0, [A7]+
000013DE 4ED0 jmp [A0]
export_20:
000013E0 426D EA44 clr.w [A5 - 0x15BC]
000013E4 4A2D EA48 tst.b [A5 - 0x15B8]
000013E8 664A bne +0x4C /* 00001434 */
000013EA 42AD ECC8 clr.l [A5 - 0x1338]
000013EE 2B7C 4441 5441 ECD0 move.l [A5 - 0x1330], 0x44415441 /* 'DATA' */
000013F6 2B7C 4A4F 484E ECD4 move.l [A5 - 0x132C], 0x4A4F484E /* 'JOHN' */
000013FE 42AD ECD8 clr.l [A5 - 0x1328]
00001402 426D ECDC clr.w [A5 - 0x1324]
00001406 426D ECDE clr.w [A5 - 0x1322]
0000140A 422D ECFA clr.b [A5 - 0x1306]
0000140E 426D ECF6 clr.w [A5 - 0x130A]
00001412 42AD ECEC clr.l [A5 - 0x1314]
00001416 41ED 00BA lea.l A0, [A5 + 0xBA /* export_19 */]
0000141A 2B48 EA0A move.l [A5 - 0x15F6], A0
0000141E 41ED 00AA lea.l A0, [A5 + 0xAA /* export_17 */]
00001422 2B48 EA06 move.l [A5 - 0x15FA], A0
00001426 7001 moveq.l D0, 0x01
00001428 1B40 EA48 move.b [A5 - 0x15B8], D0
0000142C 4EBA FAC8 jsr [PC - 0x538 /* 00000EF6 */]
00001430 4EBA FB26 jsr [PC - 0x4DA /* 00000F58 */]
label00001434:
00001434 205F movea.l A0, [A7]+
00001436 4ED0 jmp [A0]
fn00001438:
00001438 302D FFDC move.w D0, [A5 - 0x24]
0000143C 4E75 rts
fn0000143E:
0000143E 102D FFD6 move.b D0, [A5 - 0x2A]
00001442 4E75 rts
fn00001444:
00001444 4A80 tst.l D0
00001446 6A1C bpl +0x1E /* 00001464 */
00001448 4A81 tst.l D1
0000144A 6A0C bpl +0xE /* 00001458 */
0000144C 4480 neg.l D0
0000144E 4481 neg.l D1
00001450 4EBA 0020 jsr [PC + 0x20 /* 00001472 */]
00001454 4481 neg.l D1
00001456 4E75 rts
label00001458:
00001458 4480 neg.l D0
0000145A 4EBA 0016 jsr [PC + 0x16 /* 00001472 */]
0000145E 4480 neg.l D0
00001460 4481 neg.l D1
00001462 4E75 rts
label00001464:
00001464 4A81 tst.l D1
00001466 6A0A bpl +0xC /* 00001472 */
00001468 4481 neg.l D1
0000146A 4EBA 0006 jsr [PC + 0x6 /* 00001472 */]
0000146E 4480 neg.l D0
00001470 4E75 rts
fn00001472:
00001472 2E3C 0000 FFFF move.l D7, 0xFFFF
00001478 B280 cmp.l D1, D0
0000147A 6306 bls +0x8 /* 00001482 */
0000147C 2200 move.l D1, D0
0000147E 7000 moveq.l D0, 0x00
00001480 4E75 rts
label00001482:
00001482 B087 cmp.l D0, D7
00001484 620C bhi +0xE /* 00001492 */
00001486 80C1 divu.w D0, D1
00001488 4840 swap.w D0
0000148A 3200 move.w D1, D0
0000148C 4240 clr.w D0
0000148E 4840 swap.w D0
00001490 4E75 rts
label00001492:
00001492 B287 cmp.l D1, D7
00001494 621A bhi +0x1C /* 000014B0 */
00001496 2E00 move.l D7, D0
00001498 4240 clr.w D0
0000149A 4840 swap.w D0
0000149C 80C1 divu.w D0, D1
0000149E 4840 swap.w D0
000014A0 4847 swap.w D7
000014A2 3E00 move.w D7, D0
000014A4 4847 swap.w D7
000014A6 8EC1 divu.w D7, D1
000014A8 3007 move.w D0, D7
000014AA 4847 swap.w D7
000014AC 3207 move.w D1, D7
000014AE 4E75 rts
label000014B0:
000014B0 2400 move.l D2, D0
000014B2 2601 move.l D3, D1
label000014B4:
000014B4 E288 lsr D0, 1
000014B6 E289 lsr D1, 1
000014B8 B287 cmp.l D1, D7
000014BA 62F8 bhi -0x6 /* 000014B4 */
000014BC 80C1 divu.w D0, D1
000014BE C087 and.l D0, D7
label000014C0:
000014C0 3203 move.w D1, D3
000014C2 C2C0 mulu.w D1, D0
000014C4 2E03 move.l D7, D3
000014C6 4847 swap.w D7
000014C8 CEC0 mulu.w D7, D0
000014CA 4847 swap.w D7
000014CC D287 add.l D1, D7
000014CE 6508 bcs +0xA /* 000014D8 */
000014D0 9282 sub.l D1, D2
000014D2 6204 bhi +0x6 /* 000014D8 */
000014D4 4481 neg.l D1
000014D6 4E75 rts
label000014D8:
000014D8 5340 subq.w D0, 1
000014DA 60E4 bra -0x1A /* 000014C0 */
export_21:
fn000014DC:
000014DC 206F 0004 movea.l A0, [A7 + 0x4]
000014E0 226F 0008 movea.l A1, [A7 + 0x8]
000014E4 7000 moveq.l D0, 0x00
000014E6 1018 move.b D0, [A0]+
000014E8 4840 swap.w D0
000014EA 1019 move.b D0, [A1]+
000014EC A03C syscall CmpString
000014EE 4E75 rts
export_22:
000014F0 4E56 0000 link A6, 0
000014F4 48E7 0018 movem.l -[A7], A3,A4
000014F8 286E 0008 movea.l A4, [A6 + 0x8]
000014FC 266E 000C movea.l A3, [A6 + 0xC]
00001500 1013 move.b D0, [A3]
00001502 0280 0000 00FF andi.l D0, 0xFF
00001508 D1AC 000C add.l [A4 + 0xC], D0
0000150C 7000 moveq.l D0, 0x00
0000150E 1013 move.b D0, [A3]
00001510 4840 swap.w D0
00001512 4240 clr.w D0
00001514 4840 swap.w D0
00001516 D08B add.l D0, A3
00001518 2040 movea.l A0, D0
0000151A 1010 move.b D0, [A0]
0000151C 1940 0016 move.b [A4 + 0x16], D0
00001520 0240 00FF andi.w D0, 0xFF
00001524 0C40 000C cmpi.w D0, 0xC
00001528 660A bne +0xC /* 00001534 */
0000152A 2F0C move.l -[A7], A4
0000152C 4EBA F776 jsr [PC - 0x88A /* 00000CA4 */]
00001530 588F addq.l A7, 4
00001532 6008 bra +0xA /* 0000153C */
label00001534:
00001534 2F0C move.l -[A7], A4
00001536 2F0B move.l -[A7], A3
00001538 4EBA F4D6 jsr [PC - 0xB2A /* 00000A10 */]
label0000153C:
0000153C 4CDF 1800 movem.l A3,A4, [A7]+
00001540 4E5E unlink A6
00001542 4E75 rts
fn00001544:
00001544 4E75 rts
00001546 225F movea.l A1, [A7]+
00001548 201F move.l D0, [A7]+
0000154A A04C syscall CompactMem
0000154C 2E80 move.l [A7], D0
0000154E 7000 moveq.l D0, 0x00
label00001550:
00001550 2F09 move.l -[A7], A1
label00001552:
00001552 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00001556 4E75 rts
00001558 7000 moveq.l D0, 0x00
0000155A 60F6 bra -0x8 /* 00001552 */
fn0000155C:
0000155C 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001560 6A2A bpl +0x2C /* 0000158C */
00001562 2078 0130 movea.l A0, [0x00000130 /* ApplLimit */]
00001566 43F8 0114 lea.l A1, [0x00000114 /* HeapEnd */]
0000156A 2008 move.l D0, A0
0000156C 9091 sub.l D0, [A1]
0000156E 740C moveq.l D2, 0x0C
00001570 B082 cmp.l D0, D2
00001572 6516 bcs +0x18 /* 0000158A */
00001574 2251 movea.l A1, [A1]
00001576 21C8 0114 move.l [0x00000114 /* HeapEnd */], A0
0000157A 2280 move.l [A1], D0
0000157C 4211 clr.b [A1]
0000157E 2278 02AA movea.l A1, [0x000002AA /* ApplZone */]
00001582 2288 move.l [A1], A0
00001584 2082 move.l [A0], D2
00001586 D1A9 000C add.l [A1 + 0xC], D0
label0000158A:
0000158A 4E75 rts
label0000158C:
0000158C A063 syscall MaxApplZone
0000158E 4E75 rts
export_23:
00001590 225F movea.l A1, [A7]+
00001592 201F move.l D0, [A7]+
00001594 A11E syscall NewPtr, flags=1
00001596 2E88 move.l [A7], A0
00001598 4EFA FFB6 jmp [PC - 0x4A /* 00001550 */]
export_24:
0000159C 225F movea.l A1, [A7]+
0000159E 205F movea.l A0, [A7]+
000015A0 A01F syscall DisposPtr/DisposePtr
000015A2 4EFA FFAC jmp [PC - 0x54 /* 00001550 */]
export_25:
fn000015A6:
000015A6 225F movea.l A1, [A7]+
000015A8 201F move.l D0, [A7]+
000015AA A122 syscall NewHandle, flags=1
000015AC 2E88 move.l [A7], A0
000015AE 4EFA FFA0 jmp [PC - 0x60 /* 00001550 */]
export_26:
000015B2 225F movea.l A1, [A7]+
000015B4 205F movea.l A0, [A7]+
000015B6 A023 syscall DisposHandle/DisposeHandle
000015B8 4EFA FF96 jmp [PC - 0x6A /* 00001550 */]
export_27:
000015BC 225F movea.l A1, [A7]+
000015BE 205F movea.l A0, [A7]+
000015C0 A029 syscall HLock
000015C2 4EFA FF8C jmp [PC - 0x74 /* 00001550 */]
export_28:
000015C6 225F movea.l A1, [A7]+
000015C8 205F movea.l A0, [A7]+
000015CA A02A syscall HUnlock
000015CC 4EFA FF82 jmp [PC - 0x7E /* 00001550 */]
export_29:
000015D0 225F movea.l A1, [A7]+
000015D2 205F movea.l A0, [A7]+
000015D4 20B8 020C move.l [A0], [0x0000020C /* Time */]
000015D8 4ED1 jmp [A1]
export_30:
000015DA 4CDF 0301 movem.l D0,A0,A1, [A7]+
000015DE 2F00 move.l -[A7], D0
000015E0 2009 move.l D0, A1
000015E2 A9C6 syscall SecondsToDate/Secs2Date
000015E4 4E75 rts
export_31:
000015E6 201F move.l D0, [A7]+
000015E8 225F movea.l A1, [A7]+
000015EA 205F movea.l A0, [A7]+
000015EC 2F00 move.l -[A7], D0
000015EE A03B syscall Delay
000015F0 2280 move.l [A1], D0
000015F2 4E75 rts
export_32:
000015F4 225F movea.l A1, [A7]+
000015F6 121F move.b D1, [A7]+
000015F8 205F movea.l A0, [A7]+
000015FA 7000 moveq.l D0, 0x00
000015FC 1018 move.b D0, [A0]+
000015FE 2F09 move.l -[A7], A1
00001600 4A01 tst.b D1
00001602 6704 beq +0x6 /* 00001608 */
00001604 A054 syscall UprString/UprText
00001606 6002 bra +0x4 /* 0000160A */
label00001608:
00001608 A254 syscall UprString/UprText, flags=2
label0000160A:
0000160A 4E75 rts
fn0000160C:
0000160C 225F movea.l A1, [A7]+
0000160E 101F move.b D0, [A7]+
00001610 205F movea.l A0, [A7]+
00001612 6604 bne +0x6 /* 00001618 */
00001614 A001 syscall Close
00001616 6002 bra +0x4 /* 0000161A */
label00001618:
00001618 A401 syscall Close, flags=4
label0000161A:
0000161A 3E80 move.w [A7], D0
0000161C 4ED1 jmp [A1]
fn0000161E:
0000161E 225F movea.l A1, [A7]+
00001620 101F move.b D0, [A7]+
00001622 205F movea.l A0, [A7]+
00001624 6604 bne +0x6 /* 0000162A */
00001626 A003 syscall Write
00001628 6002 bra +0x4 /* 0000162C */
label0000162A:
0000162A A403 syscall Write, flags=4
label0000162C:
0000162C 3E80 move.w [A7], D0
0000162E 4ED1 jmp [A1]
fn00001630:
00001630 225F movea.l A1, [A7]+
00001632 101F move.b D0, [A7]+
00001634 205F movea.l A0, [A7]+
00001636 6604 bne +0x6 /* 0000163C */
00001638 A006 syscall KillIO
0000163A 6002 bra +0x4 /* 0000163E */
label0000163C:
0000163C A406 syscall KillIO, flags=4
label0000163E:
0000163E 3E80 move.w [A7], D0
00001640 4ED1 jmp [A1]
fn00001642:
00001642 225F movea.l A1, [A7]+
00001644 101F move.b D0, [A7]+
00001646 205F movea.l A0, [A7]+
00001648 6604 bne +0x6 /* 0000164E */
0000164A A009 syscall Delete/PBHDelete/HDelete
0000164C 6002 bra +0x4 /* 00001650 */
label0000164E:
0000164E A409 syscall Delete/PBHDelete/HDelete, flags=4
label00001650:
00001650 3E80 move.w [A7], D0
00001652 4ED1 jmp [A1]
export_33:
00001654 4E56 FFCE link A6, -0x0032
00001658 41EE FFCE lea.l A0, [A6 - 0x32]
0000165C 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00001662 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00001668 4228 001A clr.b [A0 + 0x1A]
0000166C 4228 001B clr.b [A0 + 0x1B]
00001670 42A8 001C clr.l [A0 + 0x1C]
00001674 A000 syscall Open/PBHOpen/HOpen
00001676 226E 0008 movea.l A1, [A6 + 0x8]
0000167A 32A8 0018 move.w [A1], [A0 + 0x18]
0000167E 3D40 0012 move.w [A6 + 0x12], D0
00001682 4E5E unlink A6
00001684 205F movea.l A0, [A7]+
00001686 DEFC 000A add.w A7, 0xA /* '\n' */
0000168A 4ED0 jmp [A0]
export_34:
0000168C 4E56 FFCE link A6, -0x0032
00001690 41EE FFCE lea.l A0, [A6 - 0x32]
00001694 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
0000169A A001 syscall Close
0000169C 3D40 000A move.w [A6 + 0xA], D0
000016A0 4E5E unlink A6
000016A2 205F movea.l A0, [A7]+
000016A4 548F addq.l A7, 2
000016A6 4ED0 jmp [A0]
export_35:
000016A8 51C1 sf D1
000016AA 6002 bra +0x4 /* 000016AE */
export_36:
fn000016AC:
000016AC 50C1 st D1
label000016AE:
000016AE 4E56 FFCE link A6, -0x0032
000016B2 41EE FFCE lea.l A0, [A6 - 0x32]
000016B6 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
000016BC 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
000016C2 226E 000C movea.l A1, [A6 + 0xC]
000016C6 2151 0024 move.l [A0 + 0x24], [A1]
000016CA 4268 002C clr.w [A0 + 0x2C]
000016CE 42A8 002E clr.l [A0 + 0x2E]
000016D2 4A01 tst.b D1
000016D4 6604 bne +0x6 /* 000016DA */
000016D6 A002 syscall Read
000016D8 6002 bra +0x4 /* 000016DC */
label000016DA:
000016DA A003 syscall Write
label000016DC:
000016DC 3D40 0012 move.w [A6 + 0x12], D0
000016E0 226E 000C movea.l A1, [A6 + 0xC]
000016E4 22A8 0028 move.l [A1], [A0 + 0x28]
000016E8 4E5E unlink A6
000016EA 225F movea.l A1, [A7]+
000016EC DEFC 000A add.w A7, 0xA /* '\n' */
000016F0 4ED1 jmp [A1]
export_37:
000016F2 4E56 FFB0 link A6, -0x0050
000016F6 41EE FFB0 lea.l A0, [A6 - 0x50]
000016FA 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00001700 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00001706 4228 001A clr.b [A0 + 0x1A]
0000170A 4268 001C clr.w [A0 + 0x1C]
0000170E A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00001710 3D40 0012 move.w [A6 + 0x12], D0
00001714 41E8 0020 lea.l A0, [A0 + 0x20]
00001718 226E 0008 movea.l A1, [A6 + 0x8]
0000171C 7010 moveq.l D0, 0x10
0000171E A02E syscall BlockMove/BlockMoveData
00001720 4E5E unlink A6
00001722 225F movea.l A1, [A7]+
00001724 DEFC 000A add.w A7, 0xA /* '\n' */
00001728 4ED1 jmp [A1]
export_38:
0000172A 4E56 FFC0 link A6, -0x0040
0000172E 41EE FFC0 lea.l A0, [A6 - 0x40]
00001732 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00001738 A014 syscall GetVol/PBHGetVol/HGetVol
0000173A 3D40 0010 move.w [A6 + 0x10], D0
0000173E 226E 0008 movea.l A1, [A6 + 0x8]
00001742 32A8 0016 move.w [A1], [A0 + 0x16]
00001746 4E5E unlink A6
00001748 225F movea.l A1, [A7]+
0000174A 508F addq.l A7, 8
0000174C 4ED1 jmp [A1]
export_39:
0000174E 4E56 FFB0 link A6, -0x0050
00001752 41EE FFB0 lea.l A0, [A6 - 0x50]
00001756 216E 0012 0012 move.l [A0 + 0x12], [A6 + 0x12]
0000175C 316E 0010 0016 move.w [A0 + 0x16], [A6 + 0x10]
00001762 4228 001A clr.b [A0 + 0x1A]
00001766 A008 syscall Create/PBHCreate/HCreate
00001768 4A40 tst.w D0
0000176A 6614 bne +0x16 /* 00001780 */
0000176C 4268 001C clr.w [A0 + 0x1C]
00001770 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00001772 43E8 0020 lea.l A1, [A0 + 0x20]
00001776 22EE 0008 move.l [A1]+, [A6 + 0x8]
0000177A 22AE 000C move.l [A1], [A6 + 0xC]
0000177E A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label00001780:
00001780 3D40 0016 move.w [A6 + 0x16], D0
00001784 4E5E unlink A6
00001786 225F movea.l A1, [A7]+
00001788 DEFC 000E add.w A7, 0xE
0000178C 4ED1 jmp [A1]
export_40:
0000178E 4E56 FFCE link A6, -0x0032
00001792 41EE FFCE lea.l A0, [A6 - 0x32]
00001796 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
0000179C 216E 0008 001C move.l [A0 + 0x1C], [A6 + 0x8]
000017A2 A012 syscall SetEOF
000017A4 3D40 000E move.w [A6 + 0xE], D0
000017A8 4E5E unlink A6
000017AA 225F movea.l A1, [A7]+
000017AC 5C8F addq.l A7, 6
000017AE 4ED1 jmp [A1]
export_41:
000017B0 4E56 FFCE link A6, -0x0032
000017B4 41EE FFCE lea.l A0, [A6 - 0x32]
000017B8 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
000017BE 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
000017C4 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
000017CA A044 syscall SetFPos
000017CC 3D40 0010 move.w [A6 + 0x10], D0
000017D0 4E5E unlink A6
000017D2 225F movea.l A1, [A7]+
000017D4 508F addq.l A7, 8
000017D6 4ED1 jmp [A1]
fn000017D8:
000017D8 225F movea.l A1, [A7]+
000017DA 201F move.l D0, [A7]+
000017DC 305F movea.w A0, [A7]+
000017DE A02F syscall PostEvent/PPostEvent
000017E0 3E80 move.w [A7], D0
000017E2 4ED1 jmp [A1]
export_42:
000017E4 205F movea.l A0, [A7]+
000017E6 225F movea.l A1, [A7]+
000017E8 4219 clr.b [A1]+
000017EA 12B8 0260 move.b [A1], [0x00000260 /* SdVolume */]
000017EE 4ED0 jmp [A0]
export_43:
000017F0 226F 0004 movea.l A1, [A7 + 0x4]
000017F4 4251 clr.w [A1]
000017F6 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
000017FA A025 syscall GetHandleSize
000017FC 4A80 tst.l D0
000017FE 6F0E ble +0x10 /* 0000180E */
00001800 2050 movea.l A0, [A0]
00001802 226F 0008 movea.l A1, [A7 + 0x8]
00001806 3298 move.w [A1], [A0]+
00001808 226F 0004 movea.l A1, [A7 + 0x4]
0000180C 3290 move.w [A1], [A0]
label0000180E:
0000180E 205F movea.l A0, [A7]+
00001810 504F addq.w A7, 8
00001812 4ED0 jmp [A0]
export_44:
00001814 48E7 0030 movem.l -[A7], A2,A3
00001818 226F 000C movea.l A1, [A7 + 0xC]
0000181C 42A9 0002 clr.l [A1 + 0x2]
00001820 2078 0AEC movea.l A0, [0x00000AEC /* AppParmHandle */]
00001824 A025 syscall GetHandleSize
00001826 4A80 tst.l D0
00001828 6F26 ble +0x28 /* 00001850 */
0000182A 2450 movea.l A2, [A0]
0000182C 544A addq.w A2, 2
0000182E 322F 0010 move.w D1, [A7 + 0x10]
00001832 B25A cmp.w D1, [A2]+
00001834 6E1A bgt +0x1C /* 00001850 */
00001836 5341 subq.w D1, 1
label00001838:
00001838 6D16 blt +0x18 /* 00001850 */
0000183A 204A movea.l A0, A2
0000183C 7002 moveq.l D0, 0x02
0000183E D028 0008 add.b D0, [A0 + 0x8]
00001842 0240 FFFE andi.w D0, 0xFFFE
00001846 5040 addq.w D0, 8
00001848 D4C0 add.w A2, D0
0000184A A02E syscall BlockMove/BlockMoveData
0000184C 5341 subq.w D1, 1
0000184E 60E8 bra -0x16 /* 00001838 */
label00001850:
00001850 4CDF 0C00 movem.l A2,A3, [A7]+
00001854 205F movea.l A0, [A7]+
00001856 5C4F addq.w A7, 6
00001858 4ED0 jmp [A0]
export_45:
0000185A 4A78 028E tst.w [0x0000028E /* ROM85 */]
0000185E 6B22 bmi +0x24 /* 00001882 */
00001860 303C 0090 move.w D0, 0x90
00001864 A346 syscall GetOSTrapAddress, flags=3
00001866 2248 movea.l A1, A0
00001868 303C 009F move.w D0, 0x9F
0000186C A746 syscall GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
0000186E B3C8 cmpa.l A1, A0
00001870 6710 beq +0x12 /* 00001882 */
00001872 225F movea.l A1, [A7]+
00001874 205F movea.l A0, [A7]+
00001876 301F move.w D0, [A7]+
00001878 2F09 move.l -[A7], A1
0000187A A090 syscall SysEnvirons
0000187C 3F40 0004 move.w [A7 + 0x4], D0
00001880 4E75 rts
label00001882:
00001882 206F 0004 movea.l A0, [A7 + 0x4]
00001886 303C 0001 move.w D0, 0x1
0000188A 2248 movea.l A1, A0
0000188C 6006 bra +0x8 /* 00001894 */
0000188E 0313 btst [A3], D1
00001890 0B02 btst D2, D5
00001892 0100 btst D0, D0
label00001894:
00001894 303C 0010 move.w D0, 0x10
00001898 E240 asr D0.w, 1
0000189A 5340 subq.w D0, 1
label0000189C:
0000189C 4258 clr.w [A0]+
0000189E 51C8 FFFC dbf D0, -0x6 /* 0000189C */
000018A2 32BC 0001 move.w [A1], 0x1
000018A6 2078 02AE movea.l A0, [0x000002AE /* ROMBase */]
000018AA 337C FFFE 0002 move.w [A1 + 0x2], 0xFFFE
000018B0 0C28 00FF 0009 cmpi.b [A0 + 0x9], 0xFF
000018B6 6742 beq +0x44 /* 000018FA */
000018B8 4A28 0008 tst.b [A0 + 0x8]
000018BC 6E20 bgt +0x22 /* 000018DE */
000018BE 337C FFFF 0002 move.w [A1 + 0x2], 0xFFFF
000018C4 4A78 028E tst.w [0x0000028E /* ROM85 */]
000018C8 6B30 bmi +0x32 /* 000018FA */
000018CA 337C 0001 0002 move.w [A1 + 0x2], 0x1
000018D0 4A78 0B22 tst.w [0x00000B22 /* HWCfgFlags */]
000018D4 6A24 bpl +0x26 /* 000018FA */
000018D6 337C 0002 0002 move.w [A1 + 0x2], 0x2
000018DC 601C bra +0x1E /* 000018FA */
label000018DE:
000018DE 4269 0002 clr.w [A1 + 0x2]
000018E2 0C28 0002 0008 cmpi.b [A0 + 0x8], 0x2
000018E8 6E10 bgt +0x12 /* 000018FA */
000018EA 6708 beq +0xA /* 000018F4 */
000018EC 337C 0004 0002 move.w [A1 + 0x2], 0x4
000018F2 6006 bra +0x8 /* 000018FA */
label000018F4:
000018F4 337C 0003 0002 move.w [A1 + 0x2], 0x3
label000018FA:
000018FA 4269 0004 clr.w [A1 + 0x4]
000018FE 0C38 0002 012F cmpi.b [0x0000012F /* CPUFlag */], 0x2
00001904 6E0A bgt +0xC /* 00001910 */
00001906 1038 012F move.b D0, [0x0000012F /* CPUFlag */]
0000190A 5240 addq.w D0, 1
0000190C 1340 0007 move.b [A1 + 0x7], D0
label00001910:
00001910 4A78 028E tst.w [0x0000028E /* ROM85 */]
00001914 6B0E bmi +0x10 /* 00001924 */
00001916 0838 0004 0B22 btst.b [0x00000B22 /* HWCfgFlags */], 0x4
0000191C 6706 beq +0x8 /* 00001924 */
0000191E 137C 0001 0008 move.b [A1 + 0x8], 0x1
label00001924:
00001924 0C78 3FFF 028E cmpi.w [0x0000028E /* ROM85 */], 0x3FFF
0000192A 6206 bhi +0x8 /* 00001932 */
0000192C 137C 0001 0009 move.b [A1 + 0x9], 0x1
label00001932:
00001932 1038 021E move.b D0, [0x0000021E /* KbdType */]
00001936 41FA FF5B lea.l A0, [PC - 0xA5 /* 00001893, value 0x303C00 '0<\0', cstring "" */]
0000193A 323C 0004 move.w D1, 0x4
label0000193E:
0000193E B020 cmp.b D0, -[A0]
00001940 57C9 FFFC dbeq D1, -0x6 /* 0000193E */
00001944 5241 addq.w D1, 1
00001946 3341 000A move.w [A1 + 0xA], D1
0000194A 4A38 0291 tst.b [0x00000291 /* PortBUse */]
0000194E 6B18 bmi +0x1A /* 00001968 */
00001950 1238 01FB move.b D1, [0x000001FB /* SPConfig */]
00001954 0201 000F andi.b D1, 0xF
00001958 0C01 0001 cmpi.b D1, 0x1
0000195C 660A bne +0xC /* 00001968 */
0000195E 2078 02DC movea.l A0, [0x000002DC /* ABusDCE */]
00001962 1368 0007 000D move.b [A1 + 0xD], [A0 + 0x7]
label00001968:
00001968 3378 0210 000E move.w [A1 + 0xE], [0x00000210 /* BootDrive */]
0000196E 4A78 03F6 tst.w [0x000003F6 /* FSFCBLen */]
00001972 6D44 blt +0x46 /* 000019B8 */
00001974 4269 000E clr.w [A1 + 0xE]
00001978 323C 003C move.w D1, 0x3C /* '<' */
label0000197C:
0000197C 4267 clr.w -[A7]
0000197E 51C9 FFFC dbf D1, -0x6 /* 0000197C */
00001982 204F movea.l A0, A7
00001984 3178 0A58 0018 move.w [A0 + 0x18], [0x00000A58 /* SysMap */]
0000198A 7008 moveq.l D0, 0x08
0000198C A260 syscall FSDispatch/HFSDispatch, flags=2
0000198E 6624 bne +0x26 /* 000019B4 */
00001990 3168 0034 0016 move.w [A0 + 0x16], [A0 + 0x34]
00001996 A207 syscall GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
00001998 661A bne +0x1C /* 000019B4 */
0000199A 2168 005A 0030 move.l [A0 + 0x30], [A0 + 0x5A]
000019A0 217C 4552 494B 001C move.l [A0 + 0x1C], 0x4552494B /* 'ERIK' */
000019A8 7001 moveq.l D0, 0x01
000019AA A260 syscall FSDispatch/HFSDispatch, flags=2
000019AC 6606 bne +0x8 /* 000019B4 */
000019AE 3368 0016 000E move.w [A1 + 0xE], [A0 + 0x16]
label000019B4:
000019B4 DEFC 007A add.w A7, 0x7A /* 'z' */
label000019B8:
000019B8 2049 movea.l A0, A1
000019BA 225F movea.l A1, [A7]+
000019BC 5C4F addq.w A7, 6
000019BE 3EBC EA84 move.w [A7], 0xEA84
000019C2 4ED1 jmp [A1]
export_46:
000019C4 7401 moveq.l D2, 0x01
label000019C6:
000019C6 205F movea.l A0, [A7]+
000019C8 3F02 move.w -[A7], D2
000019CA 2F08 move.l -[A7], A0
000019CC ADEA syscall Pack3, auto_pop
export_47:
000019CE 7402 moveq.l D2, 0x02
000019D0 4EFA FFF4 jmp [PC - 0xC /* 000019C6 */]
export_48:
000019D4 206F 0008 movea.l A0, [A7 + 0x8]
000019D8 3F3C 0001 move.w -[A7], 0x1
000019DC A9EE syscall Pack7/DecStr68K
000019DE 206F 0004 movea.l A0, [A7 + 0x4]
000019E2 2080 move.l [A0], D0
000019E4 4EFA 000E jmp [PC + 0xE /* 000019F4 */]
export_49:
fn000019E8:
000019E8 206F 0004 movea.l A0, [A7 + 0x4]
000019EC 202F 0008 move.l D0, [A7 + 0x8]
000019F0 4267 clr.w -[A7]
000019F2 A9EE syscall Pack7/DecStr68K
label000019F4:
000019F4 205F movea.l A0, [A7]+
000019F6 504F addq.w A7, 8
000019F8 4ED0 jmp [A0]
export_50:
000019FA 2F17 move.l -[A7], [A7]
000019FC 2F7C 0400 0C00 0004 move.l [A7 + 0x4], 0x4000C00
00001A04 4EFA 0080 jmp [PC + 0x80 /* 00001A86 */]
export_51:
00001A08 2F17 move.l -[A7], [A7]
00001A0A 2F7C 0800 0484 0004 move.l [A7 + 0x4], 0x8000484
00001A12 4EFA 0072 jmp [PC + 0x72 /* 00001A86 */]
export_52:
00001A16 2F17 move.l -[A7], [A7]
00001A18 2F7C 1000 0808 0004 move.l [A7 + 0x4], 0x10000808
00001A20 4EFA 0064 jmp [PC + 0x64 /* 00001A86 */]
export_53:
00001A24 2F17 move.l -[A7], [A7]
00001A26 2F7C 1800 040C 0004 move.l [A7 + 0x4], 0x1800040C
00001A2E 4EFA 0056 jmp [PC + 0x56 /* 00001A86 */]
export_54:
00001A32 2F17 move.l -[A7], [A7]
00001A34 2F7C 2004 0480 0004 move.l [A7 + 0x4], 0x20040480
00001A3C 4EFA 0048 jmp [PC + 0x48 /* 00001A86 */]
export_55:
00001A40 2F17 move.l -[A7], [A7]
00001A42 2F7C 5204 0498 0004 move.l [A7 + 0x4], 0x52040498
00001A4A 4EFA 003A jmp [PC + 0x3A /* 00001A86 */]
export_56:
00001A4E 2F17 move.l -[A7], [A7]
00001A50 2F7C 6005 1480 0004 move.l [A7 + 0x4], 0x60051480
00001A58 4EFA 002C jmp [PC + 0x2C /* 00001A86 */]
export_57:
fn00001A5C:
00001A5C 2F17 move.l -[A7], [A7]
00001A5E 2F7C BA00 0000 0004 move.l [A7 + 0x4], 0xBA000000
00001A66 4EFA 001E jmp [PC + 0x1E /* 00001A86 */]
export_58:
00001A6A 2F17 move.l -[A7], [A7]
00001A6C 2F7C C800 0000 0004 move.l [A7 + 0x4], 0xC8000000
00001A74 4EFA 0010 jmp [PC + 0x10 /* 00001A86 */]
export_59:
00001A78 2F17 move.l -[A7], [A7]
00001A7A 2F7C D000 0000 0004 move.l [A7 + 0x4], 0xD0000000
00001A82 4EFA 0002 jmp [PC + 0x2 /* 00001A86 */]
fn00001A86:
00001A86 2F0B move.l -[A7], A3
00001A88 203C 0000 A89F move.l D0, 0xA89F
00001A8E A146 syscall GetTrapAddress, flags=1
00001A90 2648 movea.l A3, A0
00001A92 203C 0000 A8FD move.l D0, 0xA8FD
00001A98 A146 syscall GetTrapAddress, flags=1
00001A9A B7C8 cmpa.l A3, A0
00001A9C 6746 beq +0x48 /* 00001AE4 */
00001A9E 265F movea.l A3, [A7]+
00001AA0 4E56 0000 link A6, 0
00001AA4 41EE 0008 lea.l A0, [A6 + 0x8]
00001AA8 7007 moveq.l D0, 0x07
00001AAA C02E 0008 and.b D0, [A6 + 0x8]
00001AAE D02E 000A add.b D0, [A6 + 0xA]
00001AB2 5800 addq.b D0, 4
00001AB4 9EC0 sub.w A7, D0
00001AB6 224F movea.l A1, A7
00001AB8 A02E syscall BlockMove/BlockMoveData
00001ABA A8FD syscall PrGlue
00001ABC 7200 moveq.l D1, 0x00
00001ABE 122E 000A move.b D1, [A6 + 0xA]
00001AC2 7007 moveq.l D0, 0x07
00001AC4 C02E 0008 and.b D0, [A6 + 0x8]
00001AC8 6710 beq +0x12 /* 00001ADA */
00001ACA 204F movea.l A0, A7
00001ACC 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00001AD0 E248 lsr D0.w, 1
00001AD2 6002 bra +0x4 /* 00001AD6 */
label00001AD4:
00001AD4 32DF move.w [A1]+, [A7]+
label00001AD6:
00001AD6 51C8 FFFC dbf D0, -0x6 /* 00001AD4 */
label00001ADA:
00001ADA 4E5E unlink A6
00001ADC 205F movea.l A0, [A7]+
00001ADE DFC1 add.l A7, D1
00001AE0 584F addq.w A7, 4
00001AE2 4ED0 jmp [A0]
label00001AE4:
00001AE4 265F movea.l A3, [A7]+
00001AE6 4E56 0000 link A6, 0
00001AEA 48E7 0018 movem.l -[A7], A3,A4
00001AEE 7200 moveq.l D1, 0x00
00001AF0 122E 0008 move.b D1, [A6 + 0x8]
00001AF4 E609 lsr D1.b, 3
00001AF6 6718 beq +0x1A /* 00001B10 */
00001AF8 4A2E 0008 tst.b [A6 + 0x8]
00001AFC 6B00 00C2 bmi +0xC4 /* 00001BC0 */
00001B00 7400 moveq.l D2, 0x00
00001B02 142E 0009 move.b D2, [A6 + 0x9]
00001B06 661E bne +0x20 /* 00001B26 */
00001B08 7403 moveq.l D2, 0x03
00001B0A C438 0946 and.b D2, [0x00000946 /* ChooserBits */]
00001B0E 6016 bra +0x18 /* 00001B26 */
label00001B10:
00001B10 206E 0014 movea.l A0, [A6 + 0x14]
00001B14 2050 movea.l A0, [A0]
00001B16 7403 moveq.l D2, 0x03
00001B18 C428 0044 and.b D2, [A0 + 0x44]
00001B1C 0238 00FC 0946 andi.b [0x00000946 /* ChooserBits */], 0xFC
00001B22 8538 0946 or.b [0x00000946 /* ChooserBits */], D2
label00001B26:
00001B26 3678 0A5A movea.w A3, [0x00000A5A /* CurMap */]
00001B2A 42A7 clr.l -[A7]
00001B2C 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00001B32 3F02 move.w -[A7], D2
00001B34 A9A0 syscall GetResource
00001B36 201F move.l D0, [A7]+
00001B38 4A80 tst.l D0
00001B3A 664A bne +0x4C /* 00001B86 */
00001B3C 0C78 FFFF 0952 cmpi.w [0x00000952 /* PrRefNum */], 0xFFFF
00001B42 670C beq +0xE /* 00001B50 */
00001B44 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00001B48 A998 syscall UseResFile
00001B4A 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00001B4E 6716 beq +0x18 /* 00001B66 */
label00001B50:
00001B50 6100 01D0 bsr +0x1D2 /* 00001D22 */
00001B54 4A40 tst.w D0
00001B56 6708 beq +0xA /* 00001B60 */
00001B58 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
00001B5C 6000 00B0 bra +0xB2 /* 00001C0E */
label00001B60:
00001B60 3F38 0952 move.w -[A7], [0x00000952 /* PrRefNum */]
00001B64 A998 syscall UseResFile
label00001B66:
00001B66 42A7 clr.l -[A7]
00001B68 2F3C 5044 4546 move.l -[A7], 0x50444546 /* 'PDEF' */
00001B6E 3F02 move.w -[A7], D2
00001B70 A9A0 syscall GetResource
00001B72 201F move.l D0, [A7]+
00001B74 4A80 tst.l D0
00001B76 660E bne +0x10 /* 00001B86 */
00001B78 3F0B move.w -[A7], A3
00001B7A A998 syscall UseResFile
00001B7C 31FC FF40 0944 move.w [0x00000944 /* PrintErr */], 0xFF40
00001B82 6000 008A bra +0x8C /* 00001C0E */
label00001B86:
00001B86 2840 movea.l A4, D0
00001B88 204C movea.l A0, A4
00001B8A A029 syscall HLock
00001B8C 3F0B move.w -[A7], A3
00001B8E A998 syscall UseResFile
00001B90 41EE 000C lea.l A0, [A6 + 0xC]
00001B94 7007 moveq.l D0, 0x07
00001B96 C02E 0008 and.b D0, [A6 + 0x8]
00001B9A D02E 000A add.b D0, [A6 + 0xA]
00001B9E 9EC0 sub.w A7, D0
00001BA0 224F movea.l A1, A7
00001BA2 A02E syscall BlockMove/BlockMoveData
00001BA4 102E 000B move.b D0, [A6 + 0xB]
00001BA8 0200 007F andi.b D0, 0x7F
00001BAC 2054 movea.l A0, [A4]
00001BAE 4EB0 0000 jsr [A0 + D0.w]
00001BB2 102E 000B move.b D0, [A6 + 0xB]
00001BB6 6A04 bpl +0x6 /* 00001BBC */
00001BB8 204C movea.l A0, A4
00001BBA A02A syscall HUnlock
label00001BBC:
00001BBC 6000 011A bra +0x11C /* 00001CD8 */
label00001BC0:
00001BC0 9EFC 0032 sub.w A7, 0x32 /* '2' */
00001BC4 41FA 0194 lea.l A0, [PC + 0x194 /* 00001D5A, value 0x62E5072, pstring ".Print" */]
00001BC8 2F48 0012 move.l [A7 + 0x12], A0
00001BCC 3F7C FFFD 0018 move.w [A7 + 0x18], 0xFFFD
00001BD2 422F 001B clr.b [A7 + 0x1B]
00001BD6 204F movea.l A0, A7
00001BD8 7000 moveq.l D0, 0x00
00001BDA 0881 0004 bclr.b D1, 0x4
00001BDE D241 add.w D1, D1
00001BE0 323B 1006 move.w D1, [PC + D1.w + 0x6]
00001BE4 4EFB 1002 jmp [PC + D1.w + 0x2]
00001BE8 0068 006C 0070 ori.w [A0 + 0x70], 0x6C /* 'l' */
00001BEE 007A 008C 00A8 ori.w [PC + 0xA8 /* 00001C98, value 0x5, cstring "" */], 0x8C
00001BF4 00BA 00DA 00E4 0030 ori.l [PC + 0x30 /* 00001C26, value 0x66247200 'f$r\0', cstring "f$r" */], 0xDA00E4
00001BFC 0044 0020 ori.w D4, 0x20 /* ' ' */
00001C00 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00001C04 0020 0020 ori.b -[A0], 0x20 /* ' ' */
00001C08 31FC FFCE 0944 move.w [0x00000944 /* PrintErr */], 0xFFCE
label00001C0E:
00001C0E 7200 moveq.l D1, 0x00
00001C10 122E 000A move.b D1, [A6 + 0xA]
00001C14 6000 00E0 bra +0xE2 /* 00001CF6 */
00001C18 2F3C 8000 0000 move.l -[A7], 0x80000000
00001C1E 4EBA FE66 jsr [PC - 0x19A /* 00001A86 */]
00001C22 3038 0944 move.w D0, [0x00000944 /* PrintErr */]
00001C26 6624 bne +0x26 /* 00001C4C */
00001C28 7200 moveq.l D1, 0x00
00001C2A 6002 bra +0x4 /* 00001C2E */
00001C2C 7201 moveq.l D1, 0x01
label00001C2E:
00001C2E 6100 00F2 bsr +0xF4 /* 00001D22 */
00001C32 4A40 tst.w D0
00001C34 6616 bne +0x18 /* 00001C4C */
00001C36 3038 0952 move.w D0, [0x00000952 /* PrRefNum */]
00001C3A 4A78 0A60 tst.w [0x00000A60 /* ResErr */]
00001C3E 6608 bne +0xA /* 00001C48 */
00001C40 4A41 tst.w D1
00001C42 6704 beq +0x6 /* 00001C48 */
00001C44 3F00 move.w -[A7], D0
00001C46 A99A syscall CloseResFile
label00001C48:
00001C48 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00001C4C:
00001C4C 6000 0082 bra +0x84 /* 00001CD0 */
00001C50 A000 syscall Open/PBHOpen/HOpen
00001C52 607C bra +0x7E /* 00001CD0 */
00001C54 A001 syscall Close
00001C56 6078 bra +0x7A /* 00001CD0 */
00001C58 615A bsr +0x5C /* 00001CB4 */
00001C5A DEFC 002E add.w A7, 0x2E /* '.' */
00001C5E 2E88 move.l [A7], A0
00001C60 6076 bra +0x78 /* 00001CD8 */
00001C62 6150 bsr +0x52 /* 00001CB4 */
00001C64 2050 movea.l A0, [A0]
00001C66 7000 moveq.l D0, 0x00
00001C68 1028 0007 move.b D0, [A0 + 0x7]
00001C6C DEFC 0030 add.w A7, 0x30 /* '0' */
00001C70 3E80 move.w [A7], D0
00001C72 6064 bra +0x66 /* 00001CD8 */
00001C74 216E 000C 0024 move.l [A0 + 0x24], [A6 + 0xC]
00001C7A 216E 0010 0020 move.l [A0 + 0x20], [A6 + 0x10]
00001C80 216E 0014 001C move.l [A0 + 0x1C], [A6 + 0x14]
00001C86 316E 0018 001A move.w [A0 + 0x1A], [A6 + 0x18]
00001C8C A004 syscall Control
00001C8E 6040 bra +0x42 /* 00001CD0 */
00001C90 6122 bsr +0x24 /* 00001CB4 */
00001C92 2050 movea.l A0, [A0]
00001C94 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00001C9A 6734 beq +0x36 /* 00001CD0 */
00001C9C 2050 movea.l A0, [A0]
00001C9E A049 syscall HPurge
00001CA0 602E bra +0x30 /* 00001CD0 */
00001CA2 6110 bsr +0x12 /* 00001CB4 */
00001CA4 2050 movea.l A0, [A0]
00001CA6 0828 0006 0005 btst.b [A0 + 0x5], 0x6
00001CAC 6722 beq +0x24 /* 00001CD0 */
00001CAE 2050 movea.l A0, [A0]
00001CB0 A04A syscall HNoPurge
00001CB2 601C bra +0x1E /* 00001CD0 */
fn00001CB4:
00001CB4 317C 0001 001A move.w [A0 + 0x1A], 0x1
00001CBA A005 syscall Status
00001CBC 2068 001C movea.l A0, [A0 + 0x1C]
00001CC0 4E75 rts
00001CC2 DEFC 0030 add.w A7, 0x30 /* '0' */
00001CC6 3EB8 0944 move.w [A7], [0x00000944 /* PrintErr */]
00001CCA 600C bra +0xE /* 00001CD8 */
00001CCC 302E 000C move.w D0, [A6 + 0xC]
label00001CD0:
00001CD0 DEFC 0032 add.w A7, 0x32 /* '2' */
00001CD4 31C0 0944 move.w [0x00000944 /* PrintErr */], D0
label00001CD8:
00001CD8 7200 moveq.l D1, 0x00
00001CDA 122E 000A move.b D1, [A6 + 0xA]
00001CDE 7007 moveq.l D0, 0x07
00001CE0 C02E 0008 and.b D0, [A6 + 0x8]
00001CE4 6710 beq +0x12 /* 00001CF6 */
00001CE6 204F movea.l A0, A7
00001CE8 43F6 100C lea.l A1, [A6 + D1.w + 0xC]
00001CEC E248 lsr D0.w, 1
00001CEE 6002 bra +0x4 /* 00001CF2 */
label00001CF0:
00001CF0 32DF move.w [A1]+, [A7]+
label00001CF2:
00001CF2 51C8 FFFC dbf D0, -0x6 /* 00001CF0 */
label00001CF6:
00001CF6 4CDF 1800 movem.l A3,A4, [A7]+
00001CFA 4E5E unlink A6
00001CFC 205F movea.l A0, [A7]+
00001CFE DFC1 add.l A7, D1
00001D00 584F addq.w A7, 4
00001D02 4ED0 jmp [A0]
fn00001D04:
00001D04 7000 moveq.l D0, 0x00
fn00001D06:
00001D06 9EFC 0040 sub.w A7, 0x40 /* '@' */
00001D0A 204F movea.l A0, A7
00001D0C 3140 0016 move.w [A0 + 0x16], D0
00001D10 42A8 0012 clr.l [A0 + 0x12]
00001D14 A015 syscall SetVol/PBHSetVol/HSetVol
00001D16 A014 syscall GetVol/PBHGetVol/HGetVol
00001D18 3028 0016 move.w D0, [A0 + 0x16]
00001D1C DEFC 0040 add.w A7, 0x40 /* '@' */
00001D20 4E75 rts
fn00001D22:
00001D22 594F subq.w A7, 4
00001D24 3F3C E000 move.w -[A7], 0xE000
00001D28 A9BA syscall GetString
00001D2A 201F move.l D0, [A7]+
00001D2C 6606 bne +0x8 /* 00001D34 */
00001D2E 303C FF40 move.w D0, 0xFF40
00001D32 6024 bra +0x26 /* 00001D58 */
label00001D34:
00001D34 2240 movea.l A1, D0
00001D36 61CC bsr -0x32 /* 00001D04 */
00001D38 4841 swap.w D1
00001D3A 3200 move.w D1, D0
00001D3C 554F subq.w A7, 2
00001D3E 2049 movea.l A0, A1
00001D40 A029 syscall HLock
00001D42 2F11 move.l -[A7], [A1]
00001D44 A997 syscall OpenResFile
00001D46 31DF 0952 move.w [0x00000952 /* PrRefNum */], [A7]+
00001D4A 2049 movea.l A0, A1
00001D4C A02A syscall HUnlock
00001D4E 3001 move.w D0, D1
00001D50 4841 swap.w D1
00001D52 61B2 bsr -0x4C /* 00001D06 */
00001D54 3038 0A60 move.w D0, [0x00000A60 /* ResErr */]
label00001D58:
00001D58 4E75 rts
00001D5A 062E 5072 696E addi.b [A6 + 0x696E], 0x72 /* 'r' */
00001D60 7420 moveq.l D2, 0x20
export_60:
00001D62 4E56 FDEC link A6, -0x0214
00001D66 2F07 move.l -[A7], D7
00001D68 422E 0008 clr.b [A6 + 0x8]
00001D6C 554F subq.w A7, 2
00001D6E 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00001D72 3E1F move.w D7, [A7]+
00001D74 4A47 tst.w D7
00001D76 6700 0084 beq +0x86 /* 00001DFC */
00001D7A 3007 move.w D0, D7
00001D7C 48C0 ext.l D0
00001D7E 2F00 move.l -[A7], D0
00001D80 486E FEF0 pea.l [A6 - 0x110]
00001D84 4EBA FC62 jsr [PC - 0x39E /* 000019E8 */]
00001D88 4A2D FC95 tst.b [A5 - 0x36B]
00001D8C 6732 beq +0x34 /* 00001DC0 */
00001D8E 486E FDEC pea.l [A6 - 0x214]
00001D92 487A 00CC pea.l [PC + 0xCC /* 00001E60, value 0xD4D656D '\rMem', pstring "Memory Error " */]
00001D96 486E FEF0 pea.l [A6 - 0x110]
00001D9A 487A 00C2 pea.l [PC + 0xC2 /* 00001E5E, value 0x10D0D4D */]
00001D9E 487A 007C pea.l [PC + 0x7C /* 00001E1C, value 0x41526564 'ARed', pstring "Reduce the number of Colors on your Monitor in the Control Panel." */]
00001DA2 3F3C 0004 move.w -[A7], 0x4
00001DA6 4EBA E258 jsr [PC - 0x1DA8 /* 00000000 */]
00001DAA 584F addq.w A7, 4
00001DAC 486E FDEC pea.l [A6 - 0x214]
00001DB0 487A 0068 pea.l [PC + 0x68 /* 00001E1A, value 0x124152, cstring "" */]
00001DB4 487A 0062 pea.l [PC + 0x62 /* 00001E18, value 0x120012, cstring "" */]
00001DB8 487A 005C pea.l [PC + 0x5C /* 00001E16, value 0x160012, cstring "" */]
00001DBC A98B syscall ParamText
00001DBE 6028 bra +0x2A /* 00001DE8 */
label00001DC0:
00001DC0 486E FDEC pea.l [A6 - 0x214]
00001DC4 487A 0042 pea.l [PC + 0x42 /* 00001E08, value 0xD4D656D '\rMem', pstring "Memory Error " */]
00001DC8 486E FEF0 pea.l [A6 - 0x110]
00001DCC 3F3C 0002 move.w -[A7], 0x2
00001DD0 4EBA E22E jsr [PC - 0x1DD2 /* 00000000 */]
00001DD4 584F addq.w A7, 4
00001DD6 486E FDEC pea.l [A6 - 0x214]
00001DDA 487A 002A pea.l [PC + 0x2A /* 00001E06, value 0x120D4D, cstring "" */]
00001DDE 487A 0024 pea.l [PC + 0x24 /* 00001E04, value 0x120012, cstring "" */]
00001DE2 487A 001E pea.l [PC + 0x1E /* 00001E02, value 0x160012, cstring "" */]
00001DE6 A98B syscall ParamText
label00001DE8:
00001DE8 554F subq.w A7, 2
00001DEA 3F3C 05DE move.w -[A7], 0x5DE
00001DEE 42A7 clr.l -[A7]
00001DF0 A986 syscall StopAlert
00001DF2 3D5F FEEE move.w [A6 - 0x112], [A7]+
00001DF6 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
label00001DFC:
00001DFC 2E1F move.l D7, [A7]+
00001DFE 4E5E unlink A6
00001E00 4E75 rts
00001E02 0016 0012 ori.b [A6], 0x12
00001E06 0012 0D4D ori.b [A2], 0x4D /* 'M' */
00001E0A 656D bcs +0x6F /* 00001E79 */
00001E0C 6F72 ble +0x74 /* 00001E80 */
00001E0E 7920 moveq.l D4, 0x20
00001E10 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00001E14 7220 moveq.l D1, 0x20
00001E16 0016 0012 ori.b [A6], 0x12
00001E1A 0012 4152 ori.b [A2], 0x52 /* 'R' */
00001E1E 6564 bcs +0x66 /* 00001E84 */
00001E20 7563 moveq.l D2, 0x63
00001E22 6520 bcs +0x22 /* 00001E44 */
00001E24 7468 moveq.l D2, 0x68
00001E26 6520 bcs +0x22 /* 00001E48 */
00001E28 6E75 bgt +0x77 /* 00001E9F */
00001E2A 6D62 blt +0x64 /* 00001E8E */
00001E2C 6572 bcs +0x74 /* 00001EA0 */
00001E2E 206F 6620 movea.l A0, [A7 + 0x6620]
00001E32 436F 6C6F chk.w D1, [A7 + 0x6C6F]
00001E36 7273 moveq.l D1, 0x73
00001E38 206F 6E20 movea.l A0, [A7 + 0x6E20]
00001E3C 796F moveq.l D4, 0x6F
00001E3E 7572 moveq.l D2, 0x72
00001E40 204D movea.l A0, A5
00001E42 6F6E ble +0x70 /* 00001EB2 */
label00001E44:
00001E44 6974 bvs +0x76 /* 00001EBA */
00001E46 6F72 ble +0x74 /* 00001EBA */
label00001E48:
00001E48 2069 6E20 movea.l A0, [A1 + 0x6E20]
00001E4C 7468 moveq.l D2, 0x68
00001E4E 6520 bcs +0x22 /* 00001E70 */
00001E50 436F 6E74 chk.w D1, [A7 + 0x6E74]
00001E54 726F moveq.l D1, 0x6F
00001E56 6C20 bge +0x22 /* 00001E78 */
00001E58 5061 addq.w -[A1], 8
00001E5A 6E65 bgt +0x67 /* 00001EC1 */
00001E5C 6C2E bge +0x30 /* 00001E8C */
00001E5E 010D btst A5, D0
00001E60 0D4D bchg A5, D6
00001E62 656D bcs +0x6F /* 00001ED1 */
00001E64 6F72 ble +0x74 /* 00001ED8 */
00001E66 7920 moveq.l D4, 0x20
00001E68 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00001E6C 7220 moveq.l D1, 0x20
export_61:
00001E6E 4E56 0000 link A6, 0
// begin alternate branch 00001E70-00001E78
label00001E70:
00001E70 0000 302E ori.b D0, 0x2E /* '.' */
00001E74 0008 48C0 ori.b A0, 0xC0
// end alternate branch 00001E70-00001E78
label00001E70: // (misaligned)
00001E72 302E 0008 move.w D0, [A6 + 0x8]
00001E76 48C0 ext.l D0
label00001E78:
00001E78 0280 0000 FF00 andi.l D0, 0xFF00
00001E7E 6000 00F0 bra +0xF2 /* 00001F70 */
// begin alternate branch 00001E80-00001E82
label00001E80:
00001E80 00F0 .incomplete
// end alternate branch 00001E80-00001E82
label00001E80: // (misaligned)
label00001E82:
00001E82 206E 000A movea.l A0, [A6 + 0xA]
// begin alternate branch 00001E84-00001E8C
label00001E84:
00001E84 000A 43FA ori.b A2, 0xFA
00001E88 021E 20D9 andi.b [A6]+, 0xD9
// end alternate branch 00001E84-00001E8C
label00001E84: // (misaligned)
00001E86 43FA 021E lea.l A1, [PC + 0x21E /* 000020A6, value 0x5536869, pstring "Shift" */]
00001E8A 20D9 move.l [A0]+, [A1]+
label00001E8C:
00001E8C 20D9 move.l [A0]+, [A1]+
label00001E8E:
00001E8E 6000 01B6 bra +0x1B8 /* 00002046 */
label00001E92:
00001E92 206E 000A movea.l A0, [A6 + 0xA]
00001E96 43FA 0206 lea.l A1, [PC + 0x206 /* 0000209E, value 0x6526574, pstring "Return" */]
00001E9A 20D9 move.l [A0]+, [A1]+
00001E9C 20D9 move.l [A0]+, [A1]+
00001E9E 6000 01A6 bra +0x1A8 /* 00002046 */
// begin alternate branch 00001EA0-00001EA2
label00001EA0:
00001EA0 01A6 bclr -[A6], D0
// end alternate branch 00001EA0-00001EA2
label00001EA0: // (misaligned)
label00001EA2:
00001EA2 206E 000A movea.l A0, [A6 + 0xA]
00001EA6 20BC 0354 6162 move.l [A0], 0x3546162
00001EAC 6000 0198 bra +0x19A /* 00002046 */
label00001EB0:
00001EB0 206E 000A movea.l A0, [A6 + 0xA]
// begin alternate branch 00001EB2-00001EB8
label00001EB2:
00001EB2 000A 43FA ori.b A2, 0xFA
00001EB6 01E2 .incomplete
// end alternate branch 00001EB2-00001EB8
label00001EB2: // (misaligned)
00001EB4 43FA 01E2 lea.l A1, [PC + 0x1E2 /* 00002098, value 0x5537061, pstring "Space" */]
00001EB8 20D9 move.l [A0]+, [A1]+
label00001EBA:
00001EBA 20D9 move.l [A0]+, [A1]+
00001EBC 6000 0188 bra +0x18A /* 00002046 */
label00001EC0:
00001EC0 206E 000A movea.l A0, [A6 + 0xA]
00001EC4 43FA 01CC lea.l A1, [PC + 0x1CC /* 00002092, value 0x5436C65, pstring "Clear" */]
00001EC8 20D9 move.l [A0]+, [A1]+
00001ECA 20D9 move.l [A0]+, [A1]+
00001ECC 6000 0178 bra +0x17A /* 00002046 */
label00001ED0:
00001ED0 206E 000A movea.l A0, [A6 + 0xA]
00001ED4 43FA 01B6 lea.l A1, [PC + 0x1B6 /* 0000208C, value 0x5456E74, pstring "Enter" */]
label00001ED8:
00001ED8 20D9 move.l [A0]+, [A1]+
00001EDA 20D9 move.l [A0]+, [A1]+
00001EDC 6000 0168 bra +0x16A /* 00002046 */
label00001EE0:
00001EE0 206E 000A movea.l A0, [A6 + 0xA]
00001EE4 43FA 019E lea.l A1, [PC + 0x19E /* 00002084, value 0x64F7074, pstring "Option" */]
00001EE8 20D9 move.l [A0]+, [A1]+
00001EEA 20D9 move.l [A0]+, [A1]+
00001EEC 6000 0158 bra +0x15A /* 00002046 */
label00001EF0:
00001EF0 206E 000A movea.l A0, [A6 + 0xA]
00001EF4 43FA 0186 lea.l A1, [PC + 0x186 /* 0000207C, value 0x7427370, pstring "Bsp/Del" */]
00001EF8 20D9 move.l [A0]+, [A1]+
00001EFA 20D9 move.l [A0]+, [A1]+
00001EFC 6000 0148 bra +0x14A /* 00002046 */
label00001F00:
00001F00 206E 000A movea.l A0, [A6 + 0xA]
00001F04 43FA 016E lea.l A1, [PC + 0x16E /* 00002074, value 0x7557020, pstring "Up Arr." */]
00001F08 20D9 move.l [A0]+, [A1]+
00001F0A 20D9 move.l [A0]+, [A1]+
00001F0C 6000 0138 bra +0x13A /* 00002046 */
label00001F10:
00001F10 206E 000A movea.l A0, [A6 + 0xA]
00001F14 43FA 0154 lea.l A1, [PC + 0x154 /* 0000206A, value 0x8446E2E, pstring "Dn. Arr." */]
00001F18 20D9 move.l [A0]+, [A1]+
00001F1A 20D9 move.l [A0]+, [A1]+
00001F1C 20D9 move.l [A0]+, [A1]+
00001F1E 6000 0126 bra +0x128 /* 00002046 */
label00001F22:
00001F22 206E 000A movea.l A0, [A6 + 0xA]
00001F26 43FA 0138 lea.l A1, [PC + 0x138 /* 00002060, value 0x84C662E, pstring "Lf. Arr." */]
00001F2A 20D9 move.l [A0]+, [A1]+
00001F2C 20D9 move.l [A0]+, [A1]+
00001F2E 20D9 move.l [A0]+, [A1]+
00001F30 6000 0114 bra +0x116 /* 00002046 */
label00001F34:
00001F34 206E 000A movea.l A0, [A6 + 0xA]
00001F38 43FA 011C lea.l A1, [PC + 0x11C /* 00002056, value 0x852742E, pstring "Rt. Arr." */]
00001F3C 20D9 move.l [A0]+, [A1]+
00001F3E 20D9 move.l [A0]+, [A1]+
00001F40 20D9 move.l [A0]+, [A1]+
00001F42 6000 0102 bra +0x104 /* 00002046 */
label00001F46:
00001F46 206E 000A movea.l A0, [A6 + 0xA]
00001F4A 30BC 0160 move.w [A0], 0x160
00001F4E 6000 00F6 bra +0xF8 /* 00002046 */
label00001F52:
00001F52 206E 000A movea.l A0, [A6 + 0xA]
00001F56 20BC 0345 7363 move.l [A0], 0x3457363
00001F5C 6000 00E8 bra +0xEA /* 00002046 */
label00001F60:
00001F60 206E 000A movea.l A0, [A6 + 0xA]
00001F64 43FA 00E8 lea.l A1, [PC + 0xE8 /* 0000204E, value 0x7436F6E, pstring "Control" */]
00001F68 20D9 move.l [A0]+, [A1]+
00001F6A 20D9 move.l [A0]+, [A1]+
00001F6C 6000 00D8 bra +0xDA /* 00002046 */
label00001F70:
00001F70 0680 FFFF DC00 addi.l D0, 0xFFFFDC00
00001F76 6700 FF1A beq -0xE4 /* 00001E92 */
00001F7A 0680 FFFF F400 addi.l D0, 0xFFFFF400
00001F80 6700 FF20 beq -0xDE /* 00001EA2 */
00001F84 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001F8A 6700 FF24 beq -0xDA /* 00001EB0 */
00001F8E 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001F94 67B0 beq -0x4E /* 00001F46 */
00001F96 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001F9C 6700 FF52 beq -0xAC /* 00001EF0 */
00001FA0 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001FA6 6700 FF28 beq -0xD6 /* 00001ED0 */
00001FAA 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001FB0 67A0 beq -0x5E /* 00001F52 */
00001FB2 0680 FFFF FD00 addi.l D0, 0xFFFFFD00
00001FB8 6700 FEC8 beq -0x136 /* 00001E82 */
00001FBC 0680 FFFF FE00 addi.l D0, 0xFFFFFE00
00001FC2 6700 FF1C beq -0xE2 /* 00001EE0 */
00001FC6 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001FCC 6792 beq -0x6C /* 00001F60 */
00001FCE 0680 FFFF F900 addi.l D0, 0xFFFFF900
00001FD4 6700 FF5E beq -0xA0 /* 00001F34 */
00001FD8 0680 FFFF FC00 addi.l D0, 0xFFFFFC00
00001FDE 6700 FF42 beq -0xBC /* 00001F22 */
00001FE2 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001FE8 6700 FED6 beq -0x128 /* 00001EC0 */
00001FEC 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00001FF2 6700 FF1C beq -0xE2 /* 00001F10 */
00001FF6 0680 FFFF FC00 addi.l D0, 0xFFFFFC00
00001FFC 6700 FED2 beq -0x12C /* 00001ED0 */
00002000 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
00002006 6700 FEF8 beq -0x106 /* 00001F00 */
0000200A 0680 FFFF D200 addi.l D0, 0xFFFFD200
00002010 6700 FF10 beq -0xEE /* 00001F22 */
00002014 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
0000201A 6700 FF18 beq -0xE6 /* 00001F34 */
0000201E 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
label00002024:
00002024 6700 FEEA beq -0x114 /* 00001F10 */
00002028 0680 FFFF FF00 addi.l D0, 0xFFFFFF00
0000202E 6700 FED0 beq -0x12E /* 00001F00 */
00002032 302E 0008 move.w D0, [A6 + 0x8]
00002036 0240 00FF andi.w D0, 0xFF
0000203A 206E 000A movea.l A0, [A6 + 0xA]
label0000203E:
0000203E 323C 0100 move.w D1, 0x100
00002042 1200 move.b D1, D0
00002044 3081 move.w [A0], D1
label00002046:
00002046 4E5E unlink A6
00002048 205F movea.l A0, [A7]+
0000204A 544F addq.w A7, 2
0000204C 4ED0 jmp [A0]
0000204E 0743 bchg D3, D3
00002050 6F6E ble +0x70 /* 000020C0 */
00002052 7472 moveq.l D2, 0x72
00002054 6F6C ble +0x6E /* 000020C2 */
00002056 0852 742E bchg.b [A2], 0x2E /* '.' */
0000205A 2041 movea.l A0, D1
0000205C 7272 moveq.l D1, 0x72
0000205E 2E98 move.l [A7], [A0]+
00002060 084C 662E bchg.b A4, 0x2E /* '.' */
00002064 2041 movea.l A0, D1
00002066 7272 moveq.l D1, 0x72
00002068 2E98 move.l [A7], [A0]+
0000206A 0844 6E2E bchg.b D4, 0x2E /* '.' */
0000206E 2041 movea.l A0, D1
00002070 7272 moveq.l D1, 0x72
00002072 2E98 move.l [A7], [A0]+
00002074 0755 bchg [A5], D3
00002076 7020 moveq.l D0, 0x20
00002078 4172 722E chk.w D0, [A2 + D7.w * 2 + 0x2E]
0000207C 0742 bchg D2, D3
0000207E 7370 moveq.l D1, 0x70
00002080 2F44 656C move.l [A7 + 0x656C], D4
00002084 064F 7074 addi.w A7, 0x7074 /* 'pt' */
00002088 696F bvs +0x71 /* 000020F9 */
0000208A 6E98 bgt -0x66 /* 00002024 */
0000208C 0545 bchg D5, D2
0000208E 6E74 bgt +0x76 /* 00002104 */
00002090 6572 bcs +0x74 /* 00002104 */
00002092 0543 bchg D3, D2
00002094 6C65 bge +0x67 /* 000020FB */
00002096 6172 bsr +0x74 /* 0000210A */
00002098 0553 bchg [A3], D2
0000209A 7061 moveq.l D0, 0x61
0000209C 6365 bls +0x67 /* 00002103 */
0000209E 0652 6574 addi.w [A2], 0x6574 /* 'et' */
000020A2 7572 moveq.l D2, 0x72
000020A4 6E98 bgt -0x66 /* 0000203E */
000020A6 0553 bchg [A3], D2
000020A8 6869 bvc +0x6B /* 00002113 */
000020AA 6674 bne +0x76 /* 00002120 */
export_62:
000020AC 4E56 FDEE link A6, -0x0212
000020B0 554F subq.w A7, 2
000020B2 4EBA F9A8 jsr [PC - 0x658 /* 00001A5C */]
000020B6 4A5F tst.w [A7]+
000020B8 56C0 sne D0
000020BA 2F00 move.l -[A7], D0
000020BC 554F subq.w A7, 2
000020BE 4EBA F99C jsr [PC - 0x664 /* 00001A5C */]
// begin alternate branch 000020C0-000020C2
label000020C0:
000020C0 F99C .invalid <<F/6/4>>
// end alternate branch 000020C0-000020C2
label000020C0: // (misaligned)
label000020C2:
000020C2 321F move.w D1, [A7]+
000020C4 201F move.l D0, [A7]+
000020C6 0C41 0080 cmpi.w D1, 0x80
000020CA 56C1 sne D1
000020CC C001 and.b D0, D1
000020CE 6700 00AE beq +0xB0 /* 0000217E */
000020D2 486D FF5E pea.l [A5 - 0xA2]
000020D6 A851 syscall SetCursor
000020D8 554F subq.w A7, 2
000020DA 4EBA F980 jsr [PC - 0x680 /* 00001A5C */]
000020DE 301F move.w D0, [A7]+
000020E0 48C0 ext.l D0
000020E2 2F00 move.l -[A7], D0
000020E4 486E FEF0 pea.l [A6 - 0x110]
000020E8 4EBA F8FE jsr [PC - 0x702 /* 000019E8 */]
000020EC 554F subq.w A7, 2
000020EE 4EBA F96C jsr [PC - 0x694 /* 00001A5C */]
000020F2 0C5F FFD5 cmpi.w [A7]+, 0xFFD5
000020F6 5EC0 sgt D0
000020F8 2F00 move.l -[A7], D0
000020FA 554F subq.w A7, 2
000020FC 4EBA F95E jsr [PC - 0x6A2 /* 00001A5C */]
00002100 321F move.w D1, [A7]+
00002102 201F move.l D0, [A7]+
label00002104:
00002104 0C41 FFD1 cmpi.w D1, 0xFFD1
00002108 5DC1 slt D1
fn0000210A:
0000210A C001 and.b D0, D1
0000210C 2F00 move.l -[A7], D0
0000210E 554F subq.w A7, 2
00002110 4EBA F94A jsr [PC - 0x6B6 /* 00001A5C */]
00002114 321F move.w D1, [A7]+
00002116 201F move.l D0, [A7]+
00002118 0C41 FFDE cmpi.w D1, 0xFFDE
0000211C 57C1 seq D1
0000211E 8001 or.b D0, D1
label00002120:
00002120 6726 beq +0x28 /* 00002148 */
00002122 486E FDEE pea.l [A6 - 0x212]
00002126 486E FEF0 pea.l [A6 - 0x110]
0000212A 487A 006C pea.l [PC + 0x6C /* 00002198, value 0x1A202844, pstring " (Disk is locked or full.)" */]
0000212E 3F3C 0002 move.w -[A7], 0x2
00002132 4EBA DECC jsr [PC - 0x2134 /* 00000000 */]
00002136 584F addq.w A7, 4
00002138 3F3C 00FF move.w -[A7], 0xFF
0000213C 486E FDEE pea.l [A6 - 0x212]
00002140 486E FEF0 pea.l [A6 - 0x110]
00002144 4EBA EF02 jsr [PC - 0x10FE /* 00001048 */]
label00002148:
00002148 486E FDEE pea.l [A6 - 0x212]
0000214C 487A 003A pea.l [PC + 0x3A /* 00002188, value 0xF507269, pstring "Printing Error " */]
00002150 486E FEF0 pea.l [A6 - 0x110]
00002154 3F3C 0002 move.w -[A7], 0x2
00002158 4EBA DEA6 jsr [PC - 0x215A /* 00000000 */]
0000215C 584F addq.w A7, 4
0000215E 486E FDEE pea.l [A6 - 0x212]
00002162 487A 0022 pea.l [PC + 0x22 /* 00002186, value 0x120F50, cstring "" */]
00002166 487A 001C pea.l [PC + 0x1C /* 00002184, value 0x120012, cstring "" */]
0000216A 487A 0016 pea.l [PC + 0x16 /* 00002182, value 0x160012, cstring "" */]
0000216E A98B syscall ParamText
00002170 554F subq.w A7, 2
00002172 3F3C 05DE move.w -[A7], 0x5DE
00002176 42A7 clr.l -[A7]
00002178 A986 syscall StopAlert
0000217A 3D5F FEEE move.w [A6 - 0x112], [A7]+
label0000217E:
0000217E 4E5E unlink A6
00002180 4E75 rts
00002182 0016 0012 ori.b [A6], 0x12
00002186 0012 0F50 ori.b [A2], 0x50 /* 'P' */
0000218A 7269 moveq.l D1, 0x69
0000218C 6E74 bgt +0x76 /* 00002202 */
0000218E 696E bvs +0x70 /* 000021FE */
00002190 6720 beq +0x22 /* 000021B2 */
00002192 4572 726F chk.w D2, [A2 + D7.w * 2 + 0x6F]
00002196 7220 moveq.l D1, 0x20
00002198 1A20 move.b D5, -[A0]
0000219A 2844 movea.l A4, D4
0000219C 6973 bvs +0x75 /* 00002211 */
0000219E 6B20 bmi +0x22 /* 000021C0 */
000021A0 6973 bvs +0x75 /* 00002215 */
000021A2 206C 6F63 movea.l A0, [A4 + 0x6F63]
000021A6 6B65 bmi +0x67 /* 0000220D */
000021A8 6420 bcc +0x22 /* 000021CA */
000021AA 6F72 ble +0x74 /* 0000221E */
000021AC 2066 movea.l A0, -[A6]
000021AE 756C moveq.l D2, 0x6C
000021B0 6C2E bge +0x30 /* 000021E0 */
label000021B2:
000021B2 2916 move.l -[A4], [A6]
export_63:
000021B4 4E56 FDEE link A6, -0x0212
000021B8 554F subq.w A7, 2
000021BA A9AF syscall ResError
000021BC 4A5F tst.w [A7]+
000021BE 660A bne +0xC /* 000021CA */
label000021C0:
000021C0 1D7C 0001 0008 move.b [A6 + 0x8], 0x1
000021C6 6000 00A8 bra +0xAA /* 00002270 */
label000021CA:
000021CA 422E 0008 clr.b [A6 + 0x8]
000021CE 554F subq.w A7, 2
000021D0 A9AF syscall ResError
000021D2 301F move.w D0, [A7]+
000021D4 48C0 ext.l D0
000021D6 2F00 move.l -[A7], D0
000021D8 486E FEF0 pea.l [A6 - 0x110]
000021DC 4EBA F80A jsr [PC - 0x7F6 /* 000019E8 */]
label000021E0:
000021E0 554F subq.w A7, 2
000021E2 A9AF syscall ResError
000021E4 0C5F FFC3 cmpi.w [A7]+, 0xFFC3
000021E8 57C0 seq D0
000021EA 2F00 move.l -[A7], D0
000021EC 554F subq.w A7, 2
000021EE A9AF syscall ResError
000021F0 321F move.w D1, [A7]+
000021F2 201F move.l D0, [A7]+
000021F4 0C41 FFD1 cmpi.w D1, 0xFFD1
000021F8 5EC1 sgt D1
000021FA 2F00 move.l -[A7], D0
000021FC 2F01 move.l -[A7], D1
label000021FE:
000021FE 554F subq.w A7, 2
00002200 A9AF syscall ResError
label00002202:
00002202 341F move.w D2, [A7]+
00002204 221F move.l D1, [A7]+
00002206 201F move.l D0, [A7]+
00002208 0C42 FFD5 cmpi.w D2, 0xFFD5
0000220C 5DC2 slt D2
0000220E C202 and.b D1, D2
00002210 8001 or.b D0, D1
00002212 6726 beq +0x28 /* 0000223A */
00002214 486E FDEE pea.l [A6 - 0x212]
00002218 486E FEF0 pea.l [A6 - 0x110]
0000221C 487A 0064 pea.l [PC + 0x64 /* 00002282, value 0x34202855 '4 (U', pstring " (Unlock the application and/or disk and try again.)" */]
// begin alternate branch 0000221E-00002228
label0000221E:
0000221E 0064 3F3C ori.w -[A4], 0x3F3C /* '?<' */
00002222 0002 4EBA ori.b D2, 0xBA
00002226 DDDA add.l A6, [A2]+
// end alternate branch 0000221E-00002228
label0000221E: // (misaligned)
00002220 3F3C 0002 move.w -[A7], 0x2
00002224 4EBA DDDA jsr [PC - 0x2226 /* 00000000 */]
00002228 584F addq.w A7, 4
0000222A 3F3C 00FF move.w -[A7], 0xFF
0000222E 486E FDEE pea.l [A6 - 0x212]
00002232 486E FEF0 pea.l [A6 - 0x110]
00002236 4EBA EE10 jsr [PC - 0x11F0 /* 00001048 */]
label0000223A:
0000223A 486E FDEE pea.l [A6 - 0x212]
0000223E 487A 003A pea.l [PC + 0x3A /* 0000227A, value 0x6457272, pstring "Error " */]
00002242 486E FEF0 pea.l [A6 - 0x110]
00002246 3F3C 0002 move.w -[A7], 0x2
0000224A 4EBA DDB4 jsr [PC - 0x224C /* 00000000 */]
0000224E 584F addq.w A7, 4
00002250 486E FDEE pea.l [A6 - 0x212]
00002254 487A 0022 pea.l [PC + 0x22 /* 00002278, value 0x120645, cstring "" */]
00002258 487A 001C pea.l [PC + 0x1C /* 00002276, value 0x120012, cstring "" */]
0000225C 487A 0016 pea.l [PC + 0x16 /* 00002274, value 0x160012, cstring "" */]
00002260 A98B syscall ParamText
00002262 554F subq.w A7, 2
00002264 3F3C 05DE move.w -[A7], 0x5DE
00002268 42A7 clr.l -[A7]
0000226A A986 syscall StopAlert
0000226C 3D5F FEEE move.w [A6 - 0x112], [A7]+
label00002270:
00002270 4E5E unlink A6
00002272 4E75 rts
00002274 0016 0012 ori.b [A6], 0x12
00002278 0012 0645 ori.b [A2], 0x45 /* 'E' */
0000227C 7272 moveq.l D1, 0x72
0000227E 6F72 ble +0x74 /* 000022F2 */
00002280 2012 move.l D0, [A2]
00002282 3420 move.w D2, -[A0]
00002284 2855 movea.l A4, [A5]
00002286 6E6C bgt +0x6E /* 000022F4 */
00002288 6F63 ble +0x65 /* 000022ED */
0000228A 6B20 bmi +0x22 /* 000022AC */
0000228C 7468 moveq.l D2, 0x68
0000228E 6520 bcs +0x22 /* 000022B0 */
00002290 6170 bsr +0x72 /* 00002302 */
00002292 706C moveq.l D0, 0x6C
00002294 6963 bvs +0x65 /* 000022F9 */
00002296 6174 bsr +0x76 /* 0000230C */
00002298 696F bvs +0x71 /* 00002309 */
0000229A 6E20 bgt +0x22 /* 000022BC */
0000229C 616E bsr +0x70 /* 0000230C */
0000229E 642F bcc +0x31 /* 000022CF */
000022A0 6F72 ble +0x74 /* 00002314 */
000022A2 2064 movea.l A0, -[A4]
000022A4 6973 bvs +0x75 /* 00002319 */
000022A6 6B20 bmi +0x22 /* 000022C8 */
000022A8 616E bsr +0x70 /* 00002318 */
000022AA 6420 bcc +0x22 /* 000022CC */
label000022AC:
000022AC 7472 moveq.l D2, 0x72
000022AE 7920 moveq.l D4, 0x20
label000022B0:
000022B0 6167 bsr +0x69 /* 00002319 */
000022B2 6169 bsr +0x6B /* 0000231D */
000022B4 6E2E bgt +0x30 /* 000022E4 */
000022B6 2916 move.l -[A4], [A6]